X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fparisc%2FMakefile;h=75947e09bfa067f4fd3221a79814f9c828cc27b0;hb=9f2dcffefc599c424ad1dd402e3a96da60639308;hp=55cca1dac431bc80c1e9ea5f34274be2022e4494;hpb=a8a84540eb3fd0493f250dc1c513bef6810a50fd;p=pandora-kernel.git 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