[PATCH] CRIS update: SMP
[linux-2.6.git] / include / asm-cris / smp.h
index c2f4feaa041d743144e39b03d8a36210752e7e73..dca5ef1d8c97a39471d5050ea3e9fd4b73d387e1 100644 (file)
@@ -1,4 +1,11 @@
 #ifndef __ASM_SMP_H
 #define __ASM_SMP_H
 
+#include <linux/cpumask.h>
+
+extern cpumask_t phys_cpu_present_map;
+#define cpu_possible_map phys_cpu_present_map
+
+#define __smp_processor_id() (current_thread_info()->cpu)
+
 #endif