X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fpowerpc%2FMakefile;h=bd87626c1f6041664ed777fcd4349116bb32ea32;hb=8854cb49a249c8df883874e64dfbc25eaa69a6ee;hp=4e165342210aa84b508a91e11ef6a8c44148b980;hpb=c4ec20717313daafba59225f812db89595952b83;p=linux-2.6 diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 4e16534221..bd87626c1f 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -107,6 +107,9 @@ endif # No AltiVec instruction when building kernel KBUILD_CFLAGS += $(call cc-option,-mno-altivec) +# No SPE instruction when building kernel +KBUILD_CFLAGS += $(call cc-option,-mno-spe) + # Enable unit-at-a-time mode when possible. It shrinks the # kernel considerably. KBUILD_CFLAGS += $(call cc-option,-funit-at-a-time)