]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/mm/Makefile
xen: make -fstack-protector work under Xen
[karo-tx-linux.git] / arch / x86 / mm / Makefile
index eefdeee8a871175d49a8a7f10bdebd37ed90265c..72bb3a26c738857fea58887deef7a82304842115 100644 (file)
@@ -1,6 +1,10 @@
 obj-y  :=  init.o init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o \
            pat.o pgtable.o gup.o
 
+# Make sure __phys_addr has no stackprotector
+nostackp := $(call cc-option, -fno-stack-protector)
+CFLAGS_ioremap.o               := $(nostackp)
+
 obj-$(CONFIG_SMP)              += tlb.o
 
 obj-$(CONFIG_X86_32)           += pgtable_32.o iomap_32.o