Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
eee6a6fe
Commit
eee6a6fe
authored
Feb 14, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge redhat.com:/garz/repo/linus-2.5
into redhat.com:/garz/repo/net-drivers-2.5
parents
c714a164
5eef51c3
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
8 deletions
+25
-8
arch/i386/kernel/acpi/boot.c
arch/i386/kernel/acpi/boot.c
+4
-0
arch/i386/kernel/cpu/cpufreq/powernow-k7.c
arch/i386/kernel/cpu/cpufreq/powernow-k7.c
+1
-1
arch/i386/kernel/suspend.c
arch/i386/kernel/suspend.c
+8
-0
arch/i386/kernel/sysenter.c
arch/i386/kernel/sysenter.c
+1
-1
drivers/acpi/Kconfig
drivers/acpi/Kconfig
+2
-0
drivers/char/agp/intel-agp.c
drivers/char/agp/intel-agp.c
+8
-5
fs/reiserfs/resize.c
fs/reiserfs/resize.c
+1
-1
No files found.
arch/i386/kernel/acpi/boot.c
View file @
eee6a6fe
...
@@ -26,9 +26,13 @@
...
@@ -26,9 +26,13 @@
#include <linux/init.h>
#include <linux/init.h>
#include <linux/acpi.h>
#include <linux/acpi.h>
#include <asm/pgalloc.h>
#include <asm/pgalloc.h>
#include <asm/apic.h>
#include <asm/mpspec.h>
#if defined (CONFIG_X86_LOCAL_APIC)
#include <mach_apic.h>
#include <mach_apic.h>
#include <mach_mpparse.h>
#include <mach_mpparse.h>
#endif
#define PREFIX "ACPI: "
#define PREFIX "ACPI: "
...
...
arch/i386/kernel/cpu/cpufreq/powernow-k7.c
View file @
eee6a6fe
...
@@ -67,7 +67,7 @@ static int mobile_vid_table[32] = {
...
@@ -67,7 +67,7 @@ static int mobile_vid_table[32] = {
/* divide by 10 to get FID. */
/* divide by 10 to get FID. */
static
int
fid_codes
[
32
]
=
{
static
int
fid_codes
[
32
]
=
{
110
,
115
,
120
,
125
,
50
,
55
,
60
,
65
,
110
,
115
,
120
,
125
,
50
,
55
,
60
,
65
,
70
,
75
,
80
,
85
,
90
,
95
,
10
,
105
,
70
,
75
,
80
,
85
,
90
,
95
,
10
0
,
105
,
30
,
190
,
40
,
200
,
130
,
135
,
140
,
210
,
30
,
190
,
40
,
200
,
130
,
135
,
140
,
210
,
150
,
225
,
160
,
165
,
170
,
180
,
-
1
,
-
1
,
150
,
225
,
160
,
165
,
170
,
180
,
-
1
,
-
1
,
};
};
...
...
arch/i386/kernel/suspend.c
View file @
eee6a6fe
...
@@ -32,6 +32,8 @@ unsigned long saved_context_eax, saved_context_ebx, saved_context_ecx, saved_con
...
@@ -32,6 +32,8 @@ unsigned long saved_context_eax, saved_context_ebx, saved_context_ecx, saved_con
unsigned
long
saved_context_esp
,
saved_context_ebp
,
saved_context_esi
,
saved_context_edi
;
unsigned
long
saved_context_esp
,
saved_context_ebp
,
saved_context_esi
,
saved_context_edi
;
unsigned
long
saved_context_eflags
;
unsigned
long
saved_context_eflags
;
extern
void
enable_sep_cpu
(
void
*
);
void
save_processor_state
(
void
)
void
save_processor_state
(
void
)
{
{
kernel_fpu_begin
();
kernel_fpu_begin
();
...
@@ -96,6 +98,12 @@ void restore_processor_state(void)
...
@@ -96,6 +98,12 @@ void restore_processor_state(void)
asm
volatile
(
"lidt %0"
::
"m"
(
saved_context
.
idt_limit
));
asm
volatile
(
"lidt %0"
::
"m"
(
saved_context
.
idt_limit
));
asm
volatile
(
"lldt %0"
::
"m"
(
saved_context
.
ldt
));
asm
volatile
(
"lldt %0"
::
"m"
(
saved_context
.
ldt
));
/*
* sysenter MSRs
*/
if
(
boot_cpu_has
(
X86_FEATURE_SEP
))
enable_sep_cpu
(
NULL
);
fix_processor_context
();
fix_processor_context
();
do_fpu_end
();
do_fpu_end
();
}
}
...
...
arch/i386/kernel/sysenter.c
View file @
eee6a6fe
...
@@ -35,7 +35,7 @@ struct fake_sep_struct {
...
@@ -35,7 +35,7 @@ struct fake_sep_struct {
unsigned
char
stack
[
0
];
unsigned
char
stack
[
0
];
}
__attribute__
((
aligned
(
8192
)));
}
__attribute__
((
aligned
(
8192
)));
static
void
__init
enable_sep_cpu
(
void
*
info
)
void
enable_sep_cpu
(
void
*
info
)
{
{
int
cpu
=
get_cpu
();
int
cpu
=
get_cpu
();
struct
tss_struct
*
tss
=
init_tss
+
cpu
;
struct
tss_struct
*
tss
=
init_tss
+
cpu
;
...
...
drivers/acpi/Kconfig
View file @
eee6a6fe
...
@@ -76,7 +76,9 @@ config ACPI_SLEEP
...
@@ -76,7 +76,9 @@ config ACPI_SLEEP
power management development.
power management development.
config ACPI_SLEEP_PROC_FS
config ACPI_SLEEP_PROC_FS
bool
depends on ACPI_SLEEP && PROC_FS
depends on ACPI_SLEEP && PROC_FS
default y
config ACPI_AC
config ACPI_AC
tristate "AC Adapter"
tristate "AC Adapter"
...
...
drivers/char/agp/intel-agp.c
View file @
eee6a6fe
...
@@ -682,6 +682,14 @@ static int intel_815_configure(void)
...
@@ -682,6 +682,14 @@ static int intel_815_configure(void)
u8
temp2
;
u8
temp2
;
struct
aper_size_info_8
*
current_size
;
struct
aper_size_info_8
*
current_size
;
/* attbase - aperture base */
/* the Intel 815 chipset spec. says that bits 29-31 in the
* ATTBASE register are reserved -> try not to write them */
if
(
agp_bridge
->
gatt_bus_addr
&
INTEL_815_ATTBASE_MASK
)
{
printk
(
KERN_EMERG
"gatt bus addr too high"
);
return
-
EINVAL
;
}
current_size
=
A_SIZE_8
(
agp_bridge
->
current_size
);
current_size
=
A_SIZE_8
(
agp_bridge
->
current_size
);
/* aperture size */
/* aperture size */
...
@@ -692,11 +700,6 @@ static int intel_815_configure(void)
...
@@ -692,11 +700,6 @@ static int intel_815_configure(void)
pci_read_config_dword
(
agp_bridge
->
dev
,
INTEL_APBASE
,
&
temp
);
pci_read_config_dword
(
agp_bridge
->
dev
,
INTEL_APBASE
,
&
temp
);
agp_bridge
->
gart_bus_addr
=
(
temp
&
PCI_BASE_ADDRESS_MEM_MASK
);
agp_bridge
->
gart_bus_addr
=
(
temp
&
PCI_BASE_ADDRESS_MEM_MASK
);
/* attbase - aperture base */
/* the Intel 815 chipset spec. says that bits 29-31 in the
* ATTBASE register are reserved -> try not to write them */
if
(
agp_bridge
->
gatt_bus_addr
&
INTEL_815_ATTBASE_MASK
)
panic
(
"gatt bus addr too high"
);
pci_read_config_dword
(
agp_bridge
->
dev
,
INTEL_ATTBASE
,
&
addr
);
pci_read_config_dword
(
agp_bridge
->
dev
,
INTEL_ATTBASE
,
&
addr
);
addr
&=
INTEL_815_ATTBASE_MASK
;
addr
&=
INTEL_815_ATTBASE_MASK
;
addr
|=
agp_bridge
->
gatt_bus_addr
;
addr
|=
agp_bridge
->
gatt_bus_addr
;
...
...
fs/reiserfs/resize.c
View file @
eee6a6fe
...
@@ -118,8 +118,8 @@ int reiserfs_resize (struct super_block * s, unsigned long block_count_new)
...
@@ -118,8 +118,8 @@ int reiserfs_resize (struct super_block * s, unsigned long block_count_new)
memset
(
bitmap
[
i
].
bh
->
b_data
,
0
,
sb_blocksize
(
sb
));
memset
(
bitmap
[
i
].
bh
->
b_data
,
0
,
sb_blocksize
(
sb
));
reiserfs_test_and_set_le_bit
(
0
,
bitmap
[
i
].
bh
->
b_data
);
reiserfs_test_and_set_le_bit
(
0
,
bitmap
[
i
].
bh
->
b_data
);
mark_buffer_dirty
(
bitmap
[
i
].
bh
)
;
set_buffer_uptodate
(
bitmap
[
i
].
bh
);
set_buffer_uptodate
(
bitmap
[
i
].
bh
);
mark_buffer_dirty
(
bitmap
[
i
].
bh
)
;
sync_dirty_buffer
(
bitmap
[
i
].
bh
);
sync_dirty_buffer
(
bitmap
[
i
].
bh
);
// update bitmap_info stuff
// update bitmap_info stuff
bitmap
[
i
].
first_zero_hint
=
1
;
bitmap
[
i
].
first_zero_hint
=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment