]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/arm/mach-vexpress/include/mach/smp.h
Merge branch 'master' into tk71
[mv-sheeva.git] / arch / arm / mach-vexpress / include / mach / smp.h
index 72a9621ed087369eb265de17535e3d34d3693326..4c05e4a9713a311c0be2ee63912b32b6a21400b5 100644 (file)
@@ -3,19 +3,11 @@
 
 #include <asm/hardware/gic.h>
 
-#define hard_smp_processor_id()                                \
-       ({                                              \
-               unsigned int cpunum;                    \
-               __asm__("mrc p15, 0, %0, c0, c0, 5"     \
-                       : "=r" (cpunum));               \
-               cpunum &= 0x0F;                         \
-       })
-
 /*
  * We use IRQ1 as the IPI
  */
-static inline void smp_cross_call(const struct cpumask *mask)
+static inline void smp_cross_call(const struct cpumask *mask, int ipi)
 {
-       gic_raise_softirq(mask, 1);
+       gic_raise_softirq(mask, ipi);
 }
 #endif