CRIS: Update cpu_possible_map and raw_smp_processor_id in smp.h header.
authorJesper Nilsson <jesper.nilsson@axis.com>
Mon, 21 Jan 2008 14:15:09 +0000 (15:15 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:06:32 +0000 (11:06 +0100)
- 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.

include/asm-cris/smp.h

index dca5ef1..dba33ab 100644 (file)
@@ -4,8 +4,8 @@
 #include <linux/cpumask.h>
 
 extern cpumask_t phys_cpu_present_map;
-#define cpu_possible_map phys_cpu_present_map
+extern cpumask_t cpu_possible_map;
 
-#define __smp_processor_id() (current_thread_info()->cpu)
+#define raw_smp_processor_id() (current_thread_info()->cpu)
 
 #endif