GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / mach-tegra / include / mach / smp.h
blob8b42dab79a70ca17499b55c0ba9042e278428de5
1 #ifndef ASMARM_ARCH_SMP_H
2 #define ASMARM_ARCH_SMP_H
5 #include <asm/hardware/gic.h>
7 #define hard_smp_processor_id() \
8 ({ \
9 unsigned int cpunum; \
10 __asm__("mrc p15, 0, %0, c0, c0, 5" \
11 : "=r" (cpunum)); \
12 cpunum &= 0x0F; \
16 * We use IRQ1 as the IPI
18 static inline void smp_cross_call(const struct cpumask *mask)
20 gic_raise_softirq(mask, 1);
24 * Do nothing on MPcore.
26 static inline void smp_cross_call_done(cpumask_t callmap)
30 #endif