summaryrefslogtreecommitdiff
path: root/arch/x86/mm/Makefile
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-09-10 21:09:38 +0400
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-09-10 22:48:55 +0400
commit78c86e5e5691fc84d5fbea0cd4ac7147e87b7490 (patch)
treeaa10df4a64505332ec093d909fa0999764ac4d66 /arch/x86/mm/Makefile
parent2496afbf1e50c70f80992656bcb730c8583ddac3 (diff)
downloadlinux-78c86e5e5691fc84d5fbea0cd4ac7147e87b7490.tar.xz
x86: split __phys_addr out into separate file
Split __phys_addr out into its own file so we can disable -fstack-protector in a fine-grained fashion. Also it doesn't have terribly much to do with the rest of ioremap.c. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/mm/Makefile')
-rw-r--r--arch/x86/mm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/Makefile b/arch/x86/mm/Makefile
index 72bb3a26c738..9b5a9f59a478 100644
--- a/arch/x86/mm/Makefile
+++ b/arch/x86/mm/Makefile
@@ -1,9 +1,9 @@
obj-y := init.o init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o \
- pat.o pgtable.o gup.o
+ pat.o pgtable.o physaddr.o gup.o
# Make sure __phys_addr has no stackprotector
nostackp := $(call cc-option, -fno-stack-protector)
-CFLAGS_ioremap.o := $(nostackp)
+CFLAGS_physaddr.o := $(nostackp)
obj-$(CONFIG_SMP) += tlb.o