git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
include
/
asm-cris
/
smp.h
diff --git
a/include/asm-cris/smp.h
b/include/asm-cris/smp.h
index
c2f4fea
..
dca5ef1
100644
(file)
--- a/
include/asm-cris/smp.h
+++ b/
include/asm-cris/smp.h
@@
-1,4
+1,11
@@
#ifndef __ASM_SMP_H
#define __ASM_SMP_H
#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
#endif