diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 06:43:18 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:26 -0500 |
commit | 4904033302c745342e3b3a611881cdee57fbe06a (patch) | |
tree | f7c6bcbf21989edbb02b263226865a5e34f13a02 /arch/x86/mach-generic/bigsmp.c | |
parent | a27a621001f4c3e57caf47feff4b014577fd01c6 (diff) |
x86: refactor ->enable_apic_mode() subarch methods
Only ES7000 has a real ->enable_apic_mode() method, the other
subarchitectures define it but keep it empty.
So mark the vector as NULL, extend the generic code to handle
NULL -setup_portio_remap() entries and remove all the empty
handlers.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-generic/bigsmp.c')
-rw-r--r-- | arch/x86/mach-generic/bigsmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mach-generic/bigsmp.c b/arch/x86/mach-generic/bigsmp.c index 82743d16c23d..e151b472456f 100644 --- a/arch/x86/mach-generic/bigsmp.c +++ b/arch/x86/mach-generic/bigsmp.c | |||
@@ -86,7 +86,7 @@ struct genapic apic_bigsmp = { | |||
86 | .apicid_to_cpu_present = bigsmp_apicid_to_cpu_present, | 86 | .apicid_to_cpu_present = bigsmp_apicid_to_cpu_present, |
87 | .setup_portio_remap = NULL, | 87 | .setup_portio_remap = NULL, |
88 | .check_phys_apicid_present = bigsmp_check_phys_apicid_present, | 88 | .check_phys_apicid_present = bigsmp_check_phys_apicid_present, |
89 | .enable_apic_mode = enable_apic_mode, | 89 | .enable_apic_mode = NULL, |
90 | .phys_pkg_id = phys_pkg_id, | 90 | .phys_pkg_id = phys_pkg_id, |
91 | .mps_oem_check = mps_oem_check, | 91 | .mps_oem_check = mps_oem_check, |
92 | 92 | ||