]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
fix core/stacktrace changes on avr32, mips, sh
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 14 Jul 2008 21:32:32 +0000 (23:32 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jul 2008 12:42:35 +0000 (14:42 +0200)
Fixes this type of problem:

  CC      arch/s390/kernel/stacktrace.o
arch/s390/kernel/stacktrace.c:84: warning: data definition has no type or storage class
arch/s390/kernel/stacktrace.c:84: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/s390/kernel/stacktrace.c:84: warning: parameter names (without types) in function declaration
arch/s390/kernel/stacktrace.c:97: warning: data definition has no type or storage class
arch/s390/kernel/stacktrace.c:97: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/s390/kernel/stacktrace.c:97: warning: parameter names (without types) in function declaration

caused by "stacktrace: export save_stack_trace[_tsk]"

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/avr32/kernel/stacktrace.c
arch/mips/kernel/stacktrace.c
arch/sh/kernel/stacktrace.c

index f4bdb448049c309b7363d7889d272d5c15ab33ed..c09f0d8dd679462481d926cedfcc28f8ca97f6eb 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/sched.h>
 #include <linux/stacktrace.h>
 #include <linux/thread_info.h>
+#include <linux/module.h>
 
 register unsigned long current_frame_pointer asm("r7");
 
index 5eb4681a73d2fe7c29ee02010abe5287a5411ad0..702e2e92a1caf27efc1e75df8b9db734f9bc5882 100644 (file)
@@ -7,6 +7,7 @@
  */
 #include <linux/sched.h>
 #include <linux/stacktrace.h>
+#include <linux/module.h
 #include <asm/stacktrace.h>
 
 /*
index 1b2ae35c4a76504f5d08ba43ff5e0a68a36aa04f..54d1f61aa00778c22cb55552e5fc18197e12d3b8 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/sched.h>
 #include <linux/stacktrace.h>
 #include <linux/thread_info.h>
+#include <linux/module.h>
 #include <asm/ptrace.h>
 
 /*