From: Jesper Nilsson Date: Mon, 21 Jan 2008 14:15:09 +0000 (+0100) Subject: CRIS: Update cpu_possible_map and raw_smp_processor_id in smp.h header. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=78759757dff4ba9a2564daad1fc8e7f051080cd1;p=linux-beck.git 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. --- 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 @@ #include 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