Commit ef9a1d4c authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Paul Mundt

sh: remove cpu_online() definition from <asm/smp.h>

It's defined in <linux/cpumask.h> and log is horribly flooded by
"redefined" messages.
Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 5b19c908
......@@ -19,11 +19,6 @@
#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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment