powerpc/pasemi: Fix build error on UP
authorGeoff Levand <geoffrey.levand@am.sony.com>
Fri, 17 Apr 2009 06:36:37 +0000 (06:36 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 22 Apr 2009 04:56:35 +0000 (14:56 +1000)
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>
arch/powerpc/platforms/pasemi/setup.c

index c64fb5bfb37e3598ea6b44a64332210bc0bf5c8a..153051eb6d9330643e0c3924273a3e6d04a8921f 100644 (file)
 
 #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;