aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-cris/smp.h
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2008-01-21 09:15:09 -0500
committerJesper Nilsson <jesper.nilsson@axis.com>2008-02-08 05:06:32 -0500
commit78759757dff4ba9a2564daad1fc8e7f051080cd1 (patch)
tree716e11358f57410b11bb49853abe86db0d2fcd77 /include/asm-cris/smp.h
parent9bf79539ed0866f1f67d09e807e745eae9588adb (diff)
CRIS: Update cpu_possible_map and raw_smp_processor_id in smp.h header.
- Change name of __smp_processor_id to raw_smp_processor_id. - cpu_possible_map is no longer a define for phys_cpu_present_map, it is now a cpumask_t.
Diffstat (limited to 'include/asm-cris/smp.h')
-rw-r--r--include/asm-cris/smp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-cris/smp.h b/include/asm-cris/smp.h
index dca5ef1d8c97..dba33aba3e95 100644
--- a/include/asm-cris/smp.h
+++ b/include/asm-cris/smp.h
@@ -4,8 +4,8 @@
4#include <linux/cpumask.h> 4#include <linux/cpumask.h>
5 5
6extern cpumask_t phys_cpu_present_map; 6extern cpumask_t phys_cpu_present_map;
7#define cpu_possible_map phys_cpu_present_map 7extern cpumask_t cpu_possible_map;
8 8
9#define __smp_processor_id() (current_thread_info()->cpu) 9#define raw_smp_processor_id() (current_thread_info()->cpu)
10 10
11#endif 11#endif