diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-01-30 07:32:27 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:32:27 -0500 |
commit | 6b0c3d44d33e9429dbc568dc7fd3aee3774c5707 (patch) | |
tree | ed925410acd3d3fce0934fda398f5e5f1a0f2dcd /arch/x86/Kconfig | |
parent | d531b4fd2fa3c619d973ea639476f172d5a3732d (diff) |
x86: unify arch/x86/kernel/Makefile(s)
Combine the 32 and 64 bit specific Makefiles in one file.
While doing so link order was (almost) preserved on 32 bit
but on 64 bit link order changed a lot.
Patch was checked with defconfig + allyesconfig builds.
The same .o files were linked in these configurations.
To keep readability of the Makefiles a few Kconfig
symbols was added/modified and it was checked that
they were not used anywhere else.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index fa6fa52248d9..3d2c8dfba915 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -129,9 +129,17 @@ config GENERIC_PENDING_IRQ | |||
129 | 129 | ||
130 | config X86_SMP | 130 | config X86_SMP |
131 | bool | 131 | bool |
132 | depends on X86_32 && SMP && !X86_VOYAGER | 132 | depends on SMP && ((X86_32 && !X86_VOYAGER) || X86_64) |
133 | default y | 133 | default y |
134 | 134 | ||
135 | config X86_32_SMP | ||
136 | def_bool y | ||
137 | depends on X86_32 && SMP | ||
138 | |||
139 | config X86_64_SMP | ||
140 | def_bool y | ||
141 | depends on X86_64 && SMP | ||
142 | |||
135 | config X86_HT | 143 | config X86_HT |
136 | bool | 144 | bool |
137 | depends on SMP | 145 | depends on SMP |