OSDN Git Service

sh: remove cpu_online() definition from <asm/smp.h>
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 27 Sep 2006 05:32:57 +0000 (14:32 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 05:32:57 +0000 (14:32 +0900)
It's defined in <linux/cpumask.h> and log is horribly flooded by
"redefined" messages.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/smp.h

index f57c4fe..71ecddf 100644 (file)
 #include <asm/atomic.h>
 #include <asm/current.h>
 
-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 */