diff options
author | David Howells <dhowells@redhat.com> | 2012-10-04 12:37:01 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-10-04 12:37:01 -0400 |
commit | b2249fbd7cbc6741e64474d8617453d20acc12e6 (patch) | |
tree | 47bf7600f5e96a6ae1dd069a056fc85e73e2b671 /arch/c6x | |
parent | 1c1e436269fe840cdbecfaf397b21778dd276f26 (diff) | |
parent | 2e919f76e31309d441021f73b4bd9bb2ccfb3972 (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/Makefile | 2 | ||||
-rw-r--r-- | arch/c6x/include/asm/Kbuild | 1 | ||||
-rw-r--r-- | arch/c6x/include/asm/signal.h | 17 |
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 | ||
9 | KBUILD_DEFCONFIG := dsk6455_defconfig | ||
10 | |||
9 | cflags-y += -mno-dsbt -msdata=none | 11 | cflags-y += -mno-dsbt -msdata=none |
10 | 12 | ||
11 | cflags-$(CONFIG_C6X_BIG_KERNEL) += -mlong-calls | 13 | cflags-$(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 | |||
40 | generic-y += shmbuf.h | 40 | generic-y += shmbuf.h |
41 | generic-y += shmparam.h | 41 | generic-y += shmparam.h |
42 | generic-y += siginfo.h | 42 | generic-y += siginfo.h |
43 | generic-y += signal.h | ||
43 | generic-y += socket.h | 44 | generic-y += socket.h |
44 | generic-y += sockios.h | 45 | generic-y += sockios.h |
45 | generic-y += stat.h | 46 | generic-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 | |||
9 | struct pt_regs; | ||
10 | |||
11 | extern asmlinkage int do_rt_sigreturn(struct pt_regs *regs); | ||
12 | extern 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 */ | ||