summaryrefslogtreecommitdiffstats
path: root/include/asm-cris/smp.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer.(none)>2005-07-30 14:37:43 +1000
committerDave Airlie <airlied@linux.ie>2005-07-30 14:37:43 +1000
commitbdf242eeb0f69567fe43eba93889d80ecacbfe94 (patch)
treedc402eeeb75fd51e92b4f4a63712c6e64ac4c2fb /include/asm-cris/smp.h
parent836cf0465c422ee6d654060edd7c620d9cf0c09c (diff)
parentb0825488a642cadcf39709961dde61440cb0731c (diff)
downloadkernel-crypto-bdf242eeb0f69567fe43eba93889d80ecacbfe94.tar.gz
kernel-crypto-bdf242eeb0f69567fe43eba93889d80ecacbfe94.tar.xz
kernel-crypto-bdf242eeb0f69567fe43eba93889d80ecacbfe94.zip
Merge ../linux-2.6/
Diffstat (limited to 'include/asm-cris/smp.h')
-rw-r--r--include/asm-cris/smp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-cris/smp.h b/include/asm-cris/smp.h
index c2f4feaa041..dca5ef1d8c9 100644
--- a/include/asm-cris/smp.h
+++ b/include/asm-cris/smp.h
@@ -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