commit | 65a4e574d2382d83f71b30ea92f86d2e40a6ef8d | [log] [tgz] |
---|---|---|
author | Ingo Molnar <mingo@elte.hu> | Sat Jan 31 03:36:17 2009 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Feb 05 22:27:54 2009 +0100 |
tree | d265ad2f64a3ae35ee3a9ad43b8c55b0e87f6c99 | |
parent | d8106d2e24d54497233ca9cd97fa9bec807de458 [diff] |
smp, generic: introduce arch_disable_smp_support() instead of disable_ioapic_setup() Impact: cleanup disable_ioapic_setup() in init/main.c is ugly as the function is x86-specific. The #ifdef inline prototype there is ugly too. Replace it with a generic arch_disable_smp_support() function - which has a weak alias for non-x86 architectures and for non-ioapic x86 builds. Signed-off-by: Ingo Molnar <mingo@elte.hu>