X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=mm%2FMakefile;h=6c2a73a54a43c2bb6b412ebf7af56d622315a329;hb=dee9314a05ba1cca3831b749c73260edfcab3c54;hp=7a68d2ab556093ab3398cbb95d8386c65357e07a;hpb=f7072e00f0868ff5184d29706905c4a9eca3608e;p=karo-tx-linux.git diff --git a/mm/Makefile b/mm/Makefile index 7a68d2ab5560..6c2a73a54a43 100644 --- a/mm/Makefile +++ b/mm/Makefile @@ -33,7 +33,11 @@ obj-$(CONFIG_FAILSLAB) += failslab.o obj-$(CONFIG_MEMORY_HOTPLUG) += memory_hotplug.o obj-$(CONFIG_FS_XIP) += filemap_xip.o obj-$(CONFIG_MIGRATION) += migrate.o -obj-$(CONFIG_SMP) += percpu.o +ifdef CONFIG_SMP +obj-y += percpu.o +else +obj-y += percpu_up.o +endif obj-$(CONFIG_QUICKLIST) += quicklist.o obj-$(CONFIG_CGROUP_MEM_RES_CTLR) += memcontrol.o page_cgroup.o obj-$(CONFIG_MEMORY_FAILURE) += memory-failure.o