]> err.no Git - linux-2.6/blobdiff - include/asm-sh/smp.h
sdio: add SDIO_FBR_BASE(f) macro
[linux-2.6] / include / asm-sh / smp.h
index f57c4fe9692a97d27557bdeaabc9f33b0791badc..b99ca786c0c1986c028c7dc325e91ca97ae26e7b 100644 (file)
 
 #ifdef CONFIG_SMP
 
-#include <asm/spinlock.h>
+#include <linux/spinlock.h>
 #include <asm/atomic.h>
 #include <asm/current.h>
 
-extern cpumask_t cpu_online_map;
-extern cpumask_t cpu_possible_map;
-
-#define cpu_online(cpu)                cpu_isset(cpu, cpu_online_map)
-
 #define raw_smp_processor_id() (current_thread_info()->cpu)
 
 /* I've no idea what the real meaning of this is */
@@ -44,4 +39,6 @@ extern struct smp_fn_call_struct smp_fn_call;
 
 #endif /* CONFIG_SMP */
 
+#define hard_smp_processor_id()        (0)
+
 #endif /* __ASM_SH_SMP_H */