提交 2d6b3de2 编写于 作者: G Geoff Levand 提交者: Paul Mackerras

powerpc/pasemi: Fix build error on UP

A non-SMP version of smp_send_stop() is now included in smp.h.
Remove the unneeded definition in the pasemi setup.c.

Fixes build errors like these when CONFIG_SMP=n:

  arch/powerpc/platforms/pasemi/setup.c:48: error: redefinition of ‘smp_send_stop’
  include/linux/smp.h:125: error: previous definition of 'smp_send_stop' was here

Reported-by: subrata@linux.vnet.ibm.com
Signed-off-by: NGeoff Levand <geoffrey.levand@am.sony.com>
Acked-by: NOlof Johansson <olof@lixom.net>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 bcd71fe6
......@@ -44,10 +44,6 @@
#include "pasemi.h"
#if !defined(CONFIG_SMP)
static void smp_send_stop(void) {}
#endif
/* SDC reset register, must be pre-mapped at reset time */
static void __iomem *reset_reg;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册