diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2018-07-18 00:21:56 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2018-07-19 19:36:45 +0200 |
commit | af1fc5baa724c63ce1733dfcf855bad5ef6078e3 (patch) | |
tree | a947ac298a5d3224bc2ac2c2020b85142f267ae9 /arch/arc/Kconfig | |
parent | ARC: mm: allow mprotect to make stack mappings executable (diff) | |
download | linux-af1fc5baa724c63ce1733dfcf855bad5ef6078e3.tar.xz linux-af1fc5baa724c63ce1733dfcf855bad5ef6078e3.zip |
ARCv2: [plat-hsdk]: Save accl reg pair by default
This manifsted as strace segfaulting on HSDK because gcc was targetting
the accumulator registers as GPRs, which kernek was not saving/restoring
by default.
Cc: stable@vger.kernel.org #4.14+
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/Kconfig')
-rw-r--r-- | arch/arc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index d76bf4a83740..bc0bcf01ec98 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -408,7 +408,7 @@ config ARC_HAS_DIV_REM config ARC_HAS_ACCL_REGS bool "Reg Pair ACCL:ACCH (FPU and/or MPY > 6)" - default n + default y help Depending on the configuration, CPU can contain accumulator reg-pair (also referred to as r58:r59). These can also be used by gcc as GPR so |