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/include/asm/es7000 | |
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/include/asm/es7000')
-rw-r--r-- | arch/x86/include/asm/es7000/apic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/es7000/apic.h b/arch/x86/include/asm/es7000/apic.h index c5b0eb51e53a..717c27f8da61 100644 --- a/arch/x86/include/asm/es7000/apic.h +++ b/arch/x86/include/asm/es7000/apic.h | |||
@@ -126,9 +126,9 @@ static inline physid_mask_t es7000_ioapic_phys_id_map(physid_mask_t phys_map) | |||
126 | return physids_promote(0xff); | 126 | return physids_promote(0xff); |
127 | } | 127 | } |
128 | 128 | ||
129 | |||
130 | extern unsigned int boot_cpu_physical_apicid; | 129 | extern unsigned int boot_cpu_physical_apicid; |
131 | static inline int check_phys_apicid_present(int cpu_physical_apicid) | 130 | |
131 | static inline int es7000_check_phys_apicid_present(int cpu_physical_apicid) | ||
132 | { | 132 | { |
133 | boot_cpu_physical_apicid = read_apic_id(); | 133 | boot_cpu_physical_apicid = read_apic_id(); |
134 | return (1); | 134 | return (1); |