X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-cris%2Fsmp.h;h=dba33aba3e95583e815becee7cfecca797d64b9b;hb=04a0551c87363f100b04d28d7a15a632b70e18e7;hp=c2f4feaa041d743144e39b03d8a36210752e7e73;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2;p=linux-2.6 diff --git a/include/asm-cris/smp.h b/include/asm-cris/smp.h index c2f4feaa04..dba33aba3e 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 + +extern cpumask_t phys_cpu_present_map; +extern cpumask_t cpu_possible_map; + +#define raw_smp_processor_id() (current_thread_info()->cpu) + #endif