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
c77fd09b
Commit
c77fd09b
authored
Feb 10, 2004
by
Len Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ACPI] don't register disabled processors -- it just confuses people
parent
ea885801
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
arch/i386/kernel/acpi/boot.c
arch/i386/kernel/acpi/boot.c
+4
-0
arch/x86_64/kernel/acpi/boot.c
arch/x86_64/kernel/acpi/boot.c
+5
-0
No files found.
arch/i386/kernel/acpi/boot.c
View file @
c77fd09b
...
@@ -141,6 +141,10 @@ acpi_parse_lapic (
...
@@ -141,6 +141,10 @@ acpi_parse_lapic (
acpi_table_print_madt_entry
(
header
);
acpi_table_print_madt_entry
(
header
);
/* no utility in registering a disabled processor */
if
(
processor
->
flags
.
enabled
==
0
)
return
0
;
mp_register_lapic
(
mp_register_lapic
(
processor
->
id
,
/* APIC ID */
processor
->
id
,
/* APIC ID */
processor
->
flags
.
enabled
);
/* Enabled? */
processor
->
flags
.
enabled
);
/* Enabled? */
...
...
arch/x86_64/kernel/acpi/boot.c
View file @
c77fd09b
...
@@ -120,6 +120,11 @@ acpi_parse_lapic (
...
@@ -120,6 +120,11 @@ acpi_parse_lapic (
acpi_table_print_madt_entry
(
header
);
acpi_table_print_madt_entry
(
header
);
/* no utility in registering a disabled processor */
if
(
processor
->
flags
.
enabled
==
0
)
return
0
;
mp_register_lapic
(
mp_register_lapic
(
processor
->
id
,
/* APIC ID */
processor
->
id
,
/* APIC ID */
processor
->
flags
.
enabled
);
/* Enabled? */
processor
->
flags
.
enabled
);
/* Enabled? */
...
...
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