[PATCH] Make /proc/kcore conditional on CONFIG_MMU

From: dhowells
Date: Mon Nov 08 2004 - 09:36:46 EST


The attached patch makes the presence of /proc/kcore conditional on CONFIG_MMU
being configured on.

Signed-Off-By: dhowells@xxxxxxxxxx
---
diffstat kcore-2610rc1mm3.diff
Kconfig | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -uNrp /warthog/kernels/linux-2.6.10-rc1-mm3/fs/Kconfig linux-2.6.10-rc1-mm3-frv/fs/Kconfig
--- /warthog/kernels/linux-2.6.10-rc1-mm3/fs/Kconfig 2004-11-05 13:15:42.000000000 +0000
+++ linux-2.6.10-rc1-mm3-frv/fs/Kconfig 2004-11-05 14:17:06.124046375 +0000
@@ -856,7 +856,7 @@ config PROC_FS

config PROC_KCORE
bool "/proc/kcore support" if !ARM
- depends on PROC_FS
+ depends on PROC_FS && MMU

config SYSFS
bool "sysfs file system support" if EMBEDDED
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/