mm: fix build on non-mmu machines
[safe/jmp/linux-2.6] / include / asm-generic / Kbuild.asm
index d00fd67..7cd25b8 100644 (file)
@@ -1,4 +1,8 @@
+header-y  += kvm.h
+
+ifneq ($(wildcard $(srctree)/include/asm-$(SRCARCH)/a.out.h),)
 unifdef-y += a.out.h
+endif
 unifdef-y += auxvec.h
 unifdef-y += byteorder.h
 unifdef-y += errno.h
@@ -27,6 +31,3 @@ unifdef-y += termbits.h
 unifdef-y += termios.h
 unifdef-y += types.h
 unifdef-y += unistd.h
-
-# These probably shouldn't be exported
-unifdef-y += page.h