]> err.no Git - linux-2.6/commitdiff
[PATCH] ext2 XIP won't build without MMU
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 23 Jun 2006 09:04:08 +0000 (02:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:42:55 +0000 (07:42 -0700)
Disable Ext2 XIP if the kernel is configured in no-MMU mode as the former
won't build.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/Kconfig

index 20f9b557732d2c9faf031d275878d13602131922..2aa4624cc0188e51973326e2b6e6354e99ce3bce 100644 (file)
@@ -53,7 +53,7 @@ config EXT2_FS_SECURITY
 
 config EXT2_FS_XIP
        bool "Ext2 execute in place support"
-       depends on EXT2_FS
+       depends on EXT2_FS && MMU
        help
          Execute in place can be used on memory-backed block devices. If you
          enable this option, you can select to mount block devices which are