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
136ef671
Commit
136ef671
authored
May 20, 2008
by
Alexey Starikovskiy
Committed by
Thomas Gleixner
May 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: allow MPPARSE to be deselected in SMP configs
parent
8732fc4b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
arch/x86/Kconfig.debug
arch/x86/Kconfig.debug
+1
-1
arch/x86/kernel/setup_32.c
arch/x86/kernel/setup_32.c
+1
-1
arch/x86/kernel/setup_64.c
arch/x86/kernel/setup_64.c
+4
-0
No files found.
arch/x86/Kconfig.debug
View file @
136ef671
...
...
@@ -127,7 +127,7 @@ config 4KSTACKS
config X86_FIND_SMP_CONFIG
def_bool y
depends on X86_
LOCAL_APIC || X86_VOYAGER
depends on X86_
MPPARSE || X86_VOYAGER || X86_VISWS
depends on X86_32
config X86_MPPARSE
...
...
arch/x86/kernel/setup_32.c
View file @
136ef671
...
...
@@ -814,7 +814,7 @@ void __init setup_arch(char **cmdline_p)
"CONFIG_X86_GENERICARCH or CONFIG_X86_BIGSMP.
\n
"
);
#endif
#endif
#if
def CONFIG_X86_LOCAL_APIC
#if
defined(CONFIG_X86_MPPARSE) || defined(CONFIG_X86_VISWS)
if
(
smp_found_config
)
get_smp_config
();
#endif
...
...
arch/x86/kernel/setup_64.c
View file @
136ef671
...
...
@@ -456,10 +456,12 @@ void __init setup_arch(char **cmdline_p)
if
(
efi_enabled
)
efi_reserve_bootmem
();
#ifdef CONFIG_X86_MPPARSE
/*
* Find and reserve possible boot-time SMP configuration:
*/
find_smp_config
();
#endif
#ifdef CONFIG_BLK_DEV_INITRD
if
(
boot_params
.
hdr
.
type_of_loader
&&
boot_params
.
hdr
.
ramdisk_image
)
{
unsigned
long
ramdisk_image
=
boot_params
.
hdr
.
ramdisk_image
;
...
...
@@ -502,11 +504,13 @@ void __init setup_arch(char **cmdline_p)
init_cpu_to_node
();
#ifdef CONFIG_X86_MPPARSE
/*
* get boot-time SMP configuration:
*/
if
(
smp_found_config
)
get_smp_config
();
#endif
init_apic_mappings
();
ioapic_init_mappings
();
...
...
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