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
Kirill Smelkov
linux
Commits
a3b4dc3c
Commit
a3b4dc3c
authored
Mar 10, 2004
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
merge 2.6.3 into 2.6.4
parents
6b86d8e9
19b97868
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
16 deletions
+19
-16
arch/i386/kernel/acpi/boot.c
arch/i386/kernel/acpi/boot.c
+10
-14
arch/i386/kernel/bootflag.c
arch/i386/kernel/bootflag.c
+1
-1
drivers/acpi/tables.c
drivers/acpi/tables.c
+6
-1
include/asm-i386/acpi.h
include/asm-i386/acpi.h
+2
-0
No files found.
arch/i386/kernel/acpi/boot.c
View file @
a3b4dc3c
...
...
@@ -128,7 +128,9 @@ static int __init acpi_parse_mcfg(unsigned long phys_addr, unsigned long size)
return
0
;
}
#endif
/* CONFIG_PCI_MMCONFIG */
#else
#define acpi_parse_mcfg NULL
#endif
/* !CONFIG_PCI_MMCONFIG */
#ifdef CONFIG_X86_LOCAL_APIC
static
int
__init
...
...
@@ -424,6 +426,8 @@ static int __init acpi_parse_hpet(unsigned long phys, unsigned long size)
hpet_address
);
return
0
;
}
#else
#define acpi_parse_hpet NULL
#endif
/* detect the location of the ACPI PM Timer */
...
...
@@ -454,6 +458,8 @@ static int __init acpi_parse_fadt(unsigned long phys, unsigned long size)
printk
(
KERN_INFO
PREFIX
"PM-Timer IO Port: %#x
\n
"
,
pmtmr_ioport
);
return
0
;
}
#else
#define acpi_parse_fadt NULL
#endif
...
...
@@ -666,7 +672,7 @@ acpi_boot_init (void)
return
error
;
}
(
void
)
acpi_table_parse
(
ACPI_BOOT
,
acpi_parse_sbf
);
acpi_table_parse
(
ACPI_BOOT
,
acpi_parse_sbf
);
/*
* blacklist may disable ACPI entirely
...
...
@@ -683,19 +689,9 @@ acpi_boot_init (void)
*/
acpi_process_madt
();
#ifdef CONFIG_X86_PM_TIMER
acpi_table_parse
(
ACPI_FADT
,
acpi_parse_fadt
);
#endif
#ifdef CONFIG_HPET_TIMER
(
void
)
acpi_table_parse
(
ACPI_HPET
,
acpi_parse_hpet
);
#endif
#ifdef CONFIG_PCI_MMCONFIG
error
=
acpi_table_parse
(
ACPI_MCFG
,
acpi_parse_mcfg
);
if
(
error
)
printk
(
KERN_ERR
PREFIX
"Error %d parsing MCFG
\n
"
,
error
);
#endif
acpi_table_parse
(
ACPI_HPET
,
acpi_parse_hpet
);
acpi_table_parse
(
ACPI_MCFG
,
acpi_parse_mcfg
);
return
0
;
}
...
...
arch/i386/kernel/bootflag.c
View file @
a3b4dc3c
...
...
@@ -48,7 +48,7 @@ static void __init sbf_write(u8 v)
if
(
!
parity
(
v
))
v
|=
SBF_PARITY
;
printk
(
KERN_INFO
"Simple Boot Flag
0x%x
\n
"
,
v
);
printk
(
KERN_INFO
"Simple Boot Flag
at 0x%x set to 0x%x
\n
"
,
sbf_port
,
v
);
spin_lock_irqsave
(
&
rtc_lock
,
flags
);
CMOS_WRITE
(
v
,
sbf_port
);
...
...
drivers/acpi/tables.c
View file @
a3b4dc3c
...
...
@@ -386,8 +386,13 @@ acpi_table_parse (
for
(
i
=
0
;
i
<
sdt_count
;
i
++
)
{
if
(
sdt_entry
[
i
].
id
!=
id
)
continue
;
handler
(
sdt_entry
[
i
].
pa
,
sdt_entry
[
i
].
size
);
count
++
;
if
(
count
==
1
)
handler
(
sdt_entry
[
i
].
pa
,
sdt_entry
[
i
].
size
);
else
printk
(
KERN_WARNING
PREFIX
"%d duplicate %s table ignored.
\n
"
,
count
,
acpi_table_signatures
[
id
]);
}
return
count
;
...
...
include/asm-i386/acpi.h
View file @
a3b4dc3c
...
...
@@ -28,6 +28,8 @@
#ifdef __KERNEL__
#include <asm/system.h>
/* defines cmpxchg */
#define COMPILER_DEPENDENT_INT64 long long
#define COMPILER_DEPENDENT_UINT64 unsigned long long
...
...
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