diff options
Diffstat (limited to 'arch/arm/mach-ux500/include/mach/smp.h')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/smp.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/arm/mach-ux500/include/mach/smp.h b/arch/arm/mach-ux500/include/mach/smp.h index b59f7bc9725d..197e8417375e 100644 --- a/arch/arm/mach-ux500/include/mach/smp.h +++ b/arch/arm/mach-ux500/include/mach/smp.h | |||
@@ -10,18 +10,11 @@ | |||
10 | #define ASMARM_ARCH_SMP_H | 10 | #define ASMARM_ARCH_SMP_H |
11 | 11 | ||
12 | #include <asm/hardware/gic.h> | 12 | #include <asm/hardware/gic.h> |
13 | #include <asm/smp_mpidr.h> | ||
13 | 14 | ||
14 | /* This is required to wakeup the secondary core */ | 15 | /* This is required to wakeup the secondary core */ |
15 | extern void u8500_secondary_startup(void); | 16 | extern void u8500_secondary_startup(void); |
16 | 17 | ||
17 | #define hard_smp_processor_id() \ | ||
18 | ({ \ | ||
19 | unsigned int cpunum; \ | ||
20 | __asm__("mrc p15, 0, %0, c0, c0, 5" \ | ||
21 | : "=r" (cpunum)); \ | ||
22 | cpunum &= 0x0F; \ | ||
23 | }) | ||
24 | |||
25 | /* | 18 | /* |
26 | * We use IRQ1 as the IPI | 19 | * We use IRQ1 as the IPI |
27 | */ | 20 | */ |