summaryrefslogtreecommitdiff
path: root/arch/cris/include/asm/smp.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/include/asm/smp.h')
-rw-r--r--arch/cris/include/asm/smp.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/cris/include/asm/smp.h b/arch/cris/include/asm/smp.h
new file mode 100644
index 000000000000..dba33aba3e95
--- /dev/null
+++ b/arch/cris/include/asm/smp.h
@@ -0,0 +1,11 @@
+#ifndef __ASM_SMP_H
+#define __ASM_SMP_H
+
+#include <linux/cpumask.h>
+
+extern cpumask_t phys_cpu_present_map;
+extern cpumask_t cpu_possible_map;
+
+#define raw_smp_processor_id() (current_thread_info()->cpu)
+
+#endif