X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-sh%2Fsmp.h;h=b99ca786c0c1986c028c7dc325e91ca97ae26e7b;hb=7616ee95f27a04fd5a6434e9ef4a82cec4b2807c;hp=f57c4fe9692a97d27557bdeaabc9f33b0791badc;hpb=37224470c8c6d90a4062e76a08d4dc1fcf91fc89;p=linux-2.6 diff --git a/include/asm-sh/smp.h b/include/asm-sh/smp.h index f57c4fe969..b99ca786c0 100644 --- a/include/asm-sh/smp.h +++ b/include/asm-sh/smp.h @@ -15,15 +15,10 @@ #ifdef CONFIG_SMP -#include +#include #include #include -extern cpumask_t cpu_online_map; -extern cpumask_t cpu_possible_map; - -#define cpu_online(cpu) cpu_isset(cpu, cpu_online_map) - #define raw_smp_processor_id() (current_thread_info()->cpu) /* I've no idea what the real meaning of this is */ @@ -44,4 +39,6 @@ extern struct smp_fn_call_struct smp_fn_call; #endif /* CONFIG_SMP */ +#define hard_smp_processor_id() (0) + #endif /* __ASM_SH_SMP_H */