diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-06-02 00:13:02 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-06-02 00:25:31 +0200 |
commit | 48b1fddbb100a64f3983ca9768b8ea629a09aa20 (patch) | |
tree | 7cf552c623cb0aa0dd945df55b7eaf5a0697e277 /arch/x86/include/asm/smp.h | |
parent | x86, mce: drop "extern" from function prototypes in asm/mce.h (diff) | |
parent | Merge branch 'x86/cpufeature' into irq/numa (diff) | |
download | linux-48b1fddbb100a64f3983ca9768b8ea629a09aa20.tar.xz linux-48b1fddbb100a64f3983ca9768b8ea629a09aa20.zip |
Merge branch 'irq/numa' into x86/mce3
Merge reason: arch/x86/kernel/irqinit_{32,64}.c unified in irq/numa
and modified in x86/mce3; this merge resolves the conflict.
Conflicts:
arch/x86/kernel/irqinit.c
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/smp.h')
-rw-r--r-- | arch/x86/include/asm/smp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/smp.h b/arch/x86/include/asm/smp.h index 19e0d88b966d..6a84ed166aec 100644 --- a/arch/x86/include/asm/smp.h +++ b/arch/x86/include/asm/smp.h @@ -180,7 +180,7 @@ extern int safe_smp_processor_id(void); static inline int logical_smp_processor_id(void) { /* we don't want to mark this access volatile - bad code generation */ - return GET_APIC_LOGICAL_ID(*(u32 *)(APIC_BASE + APIC_LDR)); + return GET_APIC_LOGICAL_ID(apic_read(APIC_LDR)); } #endif |