Skip to content

Commit

Permalink
sh: remove cpu_online() definition from <asm/smp.h>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexey Dobriyan authored and Paul Mundt committed Sep 27, 2006
1 parent 5b19c90 commit ef9a1d4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/asm-sh/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit ef9a1d4

Please sign in to comment.