1
0
Fork 0

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: Geoff Levand <geoffrey.levand@am.sony.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
hifive-unleashed-5.1
Geoff Levand 2009-04-17 06:36:37 +00:00 committed by Paul Mackerras
parent bcd71fe6b1
commit 2d6b3de237
1 changed files with 0 additions and 4 deletions

View File

@ -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;