aboutsummaryrefslogtreecommitdiff
path: root/arch/parisc
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-10-06 17:33:44 +0100
committerMark Brown <broonie@kernel.org>2014-10-06 17:33:44 +0100
commitcfabab5e91a66bfbfc823ecb4f81e8a4c38991e3 (patch)
treee6586abfa32301311239769e752b7afb273fcd3f /arch/parisc
parent7cd5a43939dd6878fb7ac593ce8444bfbadeeb39 (diff)
parent0ee8bb9c4864ee826e6c669f230562cd0fed8722 (diff)
Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-rt
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile
index 96ec3982be8d..94607bfa273d 100644
--- a/arch/parisc/Makefile
+++ b/arch/parisc/Makefile
@@ -46,7 +46,12 @@ cflags-y := -pipe
# These flags should be implied by an hppa-linux configuration, but they
# are not in gcc 3.2.
-cflags-y += -mno-space-regs -mfast-indirect-calls
+cflags-y += -mno-space-regs
+
+# -mfast-indirect-calls is only relevant for 32-bit kernels.
+ifndef CONFIG_64BIT
+cflags-y += -mfast-indirect-calls
+endif
# Currently we save and restore fpregs on all kernel entry/interruption paths.
# If that gets optimized, we might need to disable the use of fpregs in the