loop: fix NULL dereference if mount fails
[safe/jmp/linux-2.6] / fs / ramfs / Makefile
index f096f30..c71e65d 100644 (file)
@@ -2,6 +2,8 @@
 # Makefile for the linux ramfs routines.
 #
 
-obj-$(CONFIG_RAMFS) += ramfs.o
+obj-y += ramfs.o
 
-ramfs-objs := inode.o
+file-mmu-y := file-nommu.o
+file-mmu-$(CONFIG_MMU) := file-mmu.o
+ramfs-objs += inode.o $(file-mmu-y)