[Patch] MODULE_UNLOAD should depend on PROC_FS

From: AmÃrico Wang
Date: Tue Nov 18 2008 - 13:41:32 EST



The feature controlled by MODULE_UNLOAD uses proc interface, so it
should depend on PROC_FS.

Signed-off-by: WANG Cong <wangcong@xxxxxxxxx>
Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>

---
diff --git a/init/Kconfig b/init/Kconfig
index 226da27..fade39e 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -871,6 +871,7 @@ config MODULE_FORCE_LOAD

config MODULE_UNLOAD
bool "Module unloading"
+ depends on PROC_FS
help
Without this option you will not be able to unload any
modules (note that some modules may not be unloadable


--
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/