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:25 -0500 |
commit | a27a621001f4c3e57caf47feff4b014577fd01c6 (patch) | |
tree | 0f14c4c8eaff3c11142672f16a63e7b6e42d81a7 /arch/x86/kernel/genapic_flat_64.c | |
parent | d83093b50416f4ca59d3a84b2ddc217748214d64 (diff) |
x86: refactor ->check_phys_apicid_present() subarch methods
- spread out the namespace to per driver methods
- extend it to 64-bit as well so that we can use
apic->check_phys_apicid_present() unconditionally
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/genapic_flat_64.c')
-rw-r--r-- | arch/x86/kernel/genapic_flat_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/genapic_flat_64.c b/arch/x86/kernel/genapic_flat_64.c index f4a2c1c0a1a4..78adf71f7e55 100644 --- a/arch/x86/kernel/genapic_flat_64.c +++ b/arch/x86/kernel/genapic_flat_64.c | |||
@@ -200,7 +200,7 @@ struct genapic apic_flat = { | |||
200 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 200 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
201 | .apicid_to_cpu_present = NULL, | 201 | .apicid_to_cpu_present = NULL, |
202 | .setup_portio_remap = NULL, | 202 | .setup_portio_remap = NULL, |
203 | .check_phys_apicid_present = NULL, | 203 | .check_phys_apicid_present = default_check_phys_apicid_present, |
204 | .enable_apic_mode = NULL, | 204 | .enable_apic_mode = NULL, |
205 | .phys_pkg_id = phys_pkg_id, | 205 | .phys_pkg_id = phys_pkg_id, |
206 | .mps_oem_check = NULL, | 206 | .mps_oem_check = NULL, |
@@ -344,7 +344,7 @@ struct genapic apic_physflat = { | |||
344 | .cpu_present_to_apicid = default_cpu_present_to_apicid, | 344 | .cpu_present_to_apicid = default_cpu_present_to_apicid, |
345 | .apicid_to_cpu_present = NULL, | 345 | .apicid_to_cpu_present = NULL, |
346 | .setup_portio_remap = NULL, | 346 | .setup_portio_remap = NULL, |
347 | .check_phys_apicid_present = NULL, | 347 | .check_phys_apicid_present = default_check_phys_apicid_present, |
348 | .enable_apic_mode = NULL, | 348 | .enable_apic_mode = NULL, |
349 | .phys_pkg_id = phys_pkg_id, | 349 | .phys_pkg_id = phys_pkg_id, |
350 | .mps_oem_check = NULL, | 350 | .mps_oem_check = NULL, |