X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=arch%2Fparisc%2FMakefile;h=75947e09bfa067f4fd3221a79814f9c828cc27b0;hp=55cca1dac431bc80c1e9ea5f34274be2022e4494;hb=ae75f6aa46fa384ff0bb417ae9fa4ebcc97acfc6;hpb=e28edb723e64200554194da17617ee6e82de6690 diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index 55cca1dac431..75947e09bfa0 100644 --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile @@ -47,7 +47,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