[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0703261512120.13921@sbz-30.cs.Helsinki.FI>
Date: Mon, 26 Mar 2007 15:12:56 +0300 (EEST)
From: Pekka J Enberg <penberg@...helsinki.fi>
To: akpm@...ux-foundation.org
cc: linux-kernel@...r.kernel.org, bryan.wu@...log.com,
dhowells@...hat.com, alan@...rguk.ukuu.org.uk
Subject: revoke: no revoke for nommu
From: Pekka Enberg <penberg@...helsinki.fi>
There's just no sane way to revoke shared memory mappings for NOMMU so lets
disable the thing completely when CONFIG_MMU=n.
Cc: Bryan Wu <bryan.wu@...log.com>
Cc: David Howells <dhowells@...hat.com>
Cc: Alan Cox <alan@...rguk.ukuu.org.uk>
Signed-off-by: Pekka Enberg <penberg@...helsinki.fi>
---
fs/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: uml-2.6/fs/Makefile
===================================================================
--- uml-2.6.orig/fs/Makefile 2007-03-26 15:08:42.000000000 +0300
+++ uml-2.6/fs/Makefile 2007-03-26 15:09:03.000000000 +0300
@@ -11,7 +11,7 @@ obj-y := open.o read_write.o file_table.
attr.o bad_inode.o file.o filesystems.o namespace.o aio.o \
seq_file.o xattr.o libfs.o fs-writeback.o \
pnode.o drop_caches.o splice.o sync.o utimes.o \
- stack.o revoke.o revoked_inode.o
+ stack.o
ifeq ($(CONFIG_BLOCK),y)
obj-y += buffer.o bio.o block_dev.o direct-io.o mpage.o ioprio.o
@@ -19,6 +19,7 @@ else
obj-y += no-block.o
endif
+obj-$(CONFIG_MMU) += revoke.o revoked_inode.o
obj-$(CONFIG_INOTIFY) += inotify.o
obj-$(CONFIG_INOTIFY_USER) += inotify_user.o
obj-$(CONFIG_EPOLL) += eventpoll.o
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists