summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/bigsmp
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 13:24:54 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-28 23:20:27 +0100
commitcb8cc442dc7e07cb5438b357843ab4095ad73933 (patch)
treed818d1814507b2fe71f1e07c4bc108fe0c9ebb91 /arch/x86/include/asm/bigsmp
parentd4c9a9f3d416cfa1f5ffbe09d864d069467fe693 (diff)
downloadblackbird-op-linux-cb8cc442dc7e07cb5438b357843ab4095ad73933.tar.gz
blackbird-op-linux-cb8cc442dc7e07cb5438b357843ab4095ad73933.zip
x86, apic: refactor ->phys_pkg_id()
Refactor the ->phys_pkg_id() methods: - namespace separation - macro wrapper removal - open-coded calls to the methods in the generic code Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/bigsmp')
-rw-r--r--arch/x86/include/asm/bigsmp/apic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/bigsmp/apic.h b/arch/x86/include/asm/bigsmp/apic.h
index b7cba5b5635b..1230f5d7a38e 100644
--- a/arch/x86/include/asm/bigsmp/apic.h
+++ b/arch/x86/include/asm/bigsmp/apic.h
@@ -133,7 +133,7 @@ static inline unsigned int cpu_mask_to_apicid_and(const struct cpumask *cpumask,
return BAD_APICID;
}
-static inline int phys_pkg_id(int cpuid_apic, int index_msb)
+static inline int bigsmp_phys_pkg_id(int cpuid_apic, int index_msb)
{
return cpuid_apic >> index_msb;
}
OpenPOWER on IntegriCloud