c6x: remove c6x signal.h
authorMark Salter <msalter@redhat.com>
Thu, 4 Oct 2012 16:22:08 +0000 (12:22 -0400)
committerMark Salter <msalter@redhat.com>
Thu, 4 Oct 2012 16:22:08 +0000 (12:22 -0400)
The c6x signal.h includes the asm-generic version and provides
a couple of extern declarations. David Howells pointed out that
the externs needed to be protected by ifdef __KERNEL__. As it
turns out, the externs aren't really needed since the functions
are only called from asm code. So this patch gets rid of the
c6x signal.h and uses just the asm-generic version.

Signed-off-by: Mark Salter <msalter@redhat.com>
arch/c6x/include/asm/Kbuild
arch/c6x/include/asm/signal.h [deleted file]

index f08e89183cda452844fda74bc27a4db8823647d1..277f1a4ecb0954ca63c5c64e1314973d0a9dddd3 100644 (file)
@@ -40,6 +40,7 @@ generic-y += sembuf.h
 generic-y += shmbuf.h
 generic-y += shmparam.h
 generic-y += siginfo.h
+generic-y += signal.h
 generic-y += socket.h
 generic-y += sockios.h
 generic-y += stat.h
diff --git a/arch/c6x/include/asm/signal.h b/arch/c6x/include/asm/signal.h
deleted file mode 100644 (file)
index f1cd870..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef _ASM_C6X_SIGNAL_H
-#define _ASM_C6X_SIGNAL_H
-
-#include <asm-generic/signal.h>
-
-#ifndef __ASSEMBLY__
-#include <linux/linkage.h>
-
-struct pt_regs;
-
-extern asmlinkage int do_rt_sigreturn(struct pt_regs *regs);
-extern asmlinkage void do_notify_resume(struct pt_regs *regs,
-                                       u32 thread_info_flags,
-                                       int syscall);
-#endif
-
-#endif /* _ASM_C6X_SIGNAL_H */