|
@@ -48,7 +48,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
|