Commit a010e376 authored by Pawel Sikora's avatar Pawel Sikora Committed by Linus Torvalds

[PATCH] /proc/kcore - enable/disable.

The presence of /proc/kcore is supposed to be configurable.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2170e4ac
......@@ -819,8 +819,8 @@ config PROC_FS
programs depend on this, so everyone should say Y here.
config PROC_KCORE
bool
default y if !ARM
bool "/proc/kcore support" if !ARM
depends on PROC_FS
config SYSFS
bool "sysfs file system support" if EMBEDDED
......
......@@ -227,7 +227,7 @@ extern struct proc_dir_entry proc_root;
#endif /* CONFIG_PROC_FS */
#if !defined(CONFIG_PROC_FS)
#if !defined(CONFIG_PROC_KCORE)
static inline void kclist_add(struct kcore_list *new, void *addr, size_t size)
{
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment