[PATCH 2.6.26.5-rt9] remove duplicate save_stack_trace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Building the kernel with rt-preempt on MPC5121e, I get this one:

arch/powerpc/kernel/stacktrace.o: In function `save_stack_trace':
arch/powerpc/kernel/stacktrace.c:50: multiple definition of `save_stack_trace'
arch/powerpc/kernel/setup_32.o:arch/powerpc/kernel/setup_32.c:328: first defined here

Looks like somebody forgot to remove this in setup_32.c; setup_64.c has
it removed.

Signed-off-by: Robert Schwebel <r.schwebel@xxxxxxxxxxxxxx>

---
 arch/powerpc/kernel/setup_32.c |    7 -------
 1 file changed, 7 deletions(-)

Index: linux-2.6.26/arch/powerpc/kernel/setup_32.c
===================================================================
--- linux-2.6.26.orig/arch/powerpc/kernel/setup_32.c
+++ linux-2.6.26/arch/powerpc/kernel/setup_32.c
@@ -322,13 +322,6 @@ void __init setup_arch(char **cmdline_p)
 	paging_init();
 }
 
-#ifdef CONFIG_STACKTRACE
-#include <linux/stacktrace.h>
-void notrace save_stack_trace(struct stack_trace *trace)
-{
-}
-#endif /* CONFIG_STACKTRACE */
-
 #ifdef CONFIG_EARLY_PRINTK
 void notrace early_printk(const char *fmt, ...)
 {

-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux