Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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 */