aboutsummaryrefslogtreecommitdiffstats
path: root/arch/c6x
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-04 12:37:01 -0400
committerDavid Howells <dhowells@redhat.com>2012-10-04 12:37:01 -0400
commitb2249fbd7cbc6741e64474d8617453d20acc12e6 (patch)
tree47bf7600f5e96a6ae1dd069a056fc85e73e2b671 /arch/c6x
parent1c1e436269fe840cdbecfaf397b21778dd276f26 (diff)
parent2e919f76e31309d441021f73b4bd9bb2ccfb3972 (diff)
Merge remote-tracking branch 'c6x/for-linux-next' into uapi-prep
Avoid later problems with c6x's asm/signal.h lacking __KERNEL__ guards. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/c6x')
-rw-r--r--arch/c6x/Makefile2
-rw-r--r--arch/c6x/include/asm/Kbuild1
-rw-r--r--arch/c6x/include/asm/signal.h17
3 files changed, 3 insertions, 17 deletions
diff --git a/arch/c6x/Makefile b/arch/c6x/Makefile
index 1d08dd070277..a9eb9597e03c 100644
--- a/arch/c6x/Makefile
+++ b/arch/c6x/Makefile
@@ -6,6 +6,8 @@
6# for more details. 6# for more details.
7# 7#
8 8
9KBUILD_DEFCONFIG := dsk6455_defconfig
10
9cflags-y += -mno-dsbt -msdata=none 11cflags-y += -mno-dsbt -msdata=none
10 12
11cflags-$(CONFIG_C6X_BIG_KERNEL) += -mlong-calls 13cflags-$(CONFIG_C6X_BIG_KERNEL) += -mlong-calls
diff --git a/arch/c6x/include/asm/Kbuild b/arch/c6x/include/asm/Kbuild
index f08e89183cda..277f1a4ecb09 100644
--- a/arch/c6x/include/asm/Kbuild
+++ b/arch/c6x/include/asm/Kbuild
@@ -40,6 +40,7 @@ generic-y += sembuf.h
40generic-y += shmbuf.h 40generic-y += shmbuf.h
41generic-y += shmparam.h 41generic-y += shmparam.h
42generic-y += siginfo.h 42generic-y += siginfo.h
43generic-y += signal.h
43generic-y += socket.h 44generic-y += socket.h
44generic-y += sockios.h 45generic-y += sockios.h
45generic-y += stat.h 46generic-y += stat.h
diff --git a/arch/c6x/include/asm/signal.h b/arch/c6x/include/asm/signal.h
deleted file mode 100644
index f1cd870596a3..000000000000
--- a/arch/c6x/include/asm/signal.h
+++ /dev/null
@@ -1,17 +0,0 @@
1#ifndef _ASM_C6X_SIGNAL_H
2#define _ASM_C6X_SIGNAL_H
3
4#include <asm-generic/signal.h>
5
6#ifndef __ASSEMBLY__
7#include <linux/linkage.h>
8
9struct pt_regs;
10
11extern asmlinkage int do_rt_sigreturn(struct pt_regs *regs);
12extern asmlinkage void do_notify_resume(struct pt_regs *regs,
13 u32 thread_info_flags,
14 int syscall);
15#endif
16
17#endif /* _ASM_C6X_SIGNAL_H */