提交 ef9a1d4c 编写于 作者: A Alexey Dobriyan 提交者: 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: NAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册