diff options
-rw-r--r-- | mm/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/Makefile b/mm/Makefile index 1f534a7f0a71..8405eb0023a9 100644 --- a/mm/Makefile +++ b/mm/Makefile | |||
@@ -28,8 +28,9 @@ else | |||
28 | obj-y += bootmem.o | 28 | obj-y += bootmem.o |
29 | endif | 29 | endif |
30 | 30 | ||
31 | obj-$(CONFIG_ADVISE_SYSCALLS) += fadvise.o | ||
31 | ifdef CONFIG_MMU | 32 | ifdef CONFIG_MMU |
32 | obj-$(CONFIG_ADVISE_SYSCALLS) += fadvise.o madvise.o | 33 | obj-$(CONFIG_ADVISE_SYSCALLS) += madvise.o |
33 | endif | 34 | endif |
34 | obj-$(CONFIG_HAVE_MEMBLOCK) += memblock.o | 35 | obj-$(CONFIG_HAVE_MEMBLOCK) += memblock.o |
35 | 36 | ||