aboutsummaryrefslogtreecommitdiffstats
path: root/arch/c6x
diff options
context:
space:
mode:
authorAl Viro2012-12-23 01:17:09 -0600
committerAl Viro2013-02-03 17:15:52 -0600
commit6ec78be4cdff4db6e6ea930db9f5d912bc05febc (patch)
tree109fcf3b941925c184e46580b47ce85238076abd /arch/c6x
parent0aa0203fb43f04714004b2c4ad33b858e240555d (diff)
downloadam43-linux-kernel-6ec78be4cdff4db6e6ea930db9f5d912bc05febc.tar.gz
am43-linux-kernel-6ec78be4cdff4db6e6ea930db9f5d912bc05febc.tar.xz
am43-linux-kernel-6ec78be4cdff4db6e6ea930db9f5d912bc05febc.zip
c6x: switch to generic sigaltstack
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/c6x')
-rw-r--r--arch/c6x/Kconfig1
-rw-r--r--arch/c6x/kernel/entry.S12
2 files changed, 1 insertions, 12 deletions
diff --git a/arch/c6x/Kconfig b/arch/c6x/Kconfig
index f6a3648f5ec..12d97b7ef0d 100644
--- a/arch/c6x/Kconfig
+++ b/arch/c6x/Kconfig
@@ -18,6 +18,7 @@ config C6X
18 select OF_EARLY_FLATTREE 18 select OF_EARLY_FLATTREE
19 select GENERIC_CLOCKEVENTS 19 select GENERIC_CLOCKEVENTS
20 select MODULES_USE_ELF_RELA 20 select MODULES_USE_ELF_RELA
21 select GENERIC_SIGALTSTACK
21 22
22config MMU 23config MMU
23 def_bool n 24 def_bool n
diff --git a/arch/c6x/kernel/entry.S b/arch/c6x/kernel/entry.S
index 5239057de4c..2721c90b012 100644
--- a/arch/c6x/kernel/entry.S
+++ b/arch/c6x/kernel/entry.S
@@ -598,18 +598,6 @@ ENTRY(enable_exception)
598 NOP 5 598 NOP 5
599ENDPROC(enable_exception) 599ENDPROC(enable_exception)
600 600
601ENTRY(sys_sigaltstack)
602#ifdef CONFIG_C6X_BIG_KERNEL
603 MVKL .S1 do_sigaltstack,A0 ; branch to do_sigaltstack
604 MVKH .S1 do_sigaltstack,A0
605 B .S2X A0
606#else
607 B .S2 do_sigaltstack
608#endif
609 LDW .D2T1 *+SP(REGS_SP+8),A6
610 NOP 4
611ENDPROC(sys_sigaltstack)
612
613 ;; 601 ;;
614 ;; Special system calls 602 ;; Special system calls
615 ;; return address is in B3 603 ;; return address is in B3