ANON_INODES shouldn't be user visible
There doesn't seem to be a good reason for ANON_INODES being
an user visible option.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
diff --git a/init/Kconfig b/init/Kconfig
index 1bf3afa..7f798bc 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -468,25 +468,19 @@
run glibc-based applications correctly.
config ANON_INODES
- bool "Enable anonymous inode source" if EMBEDDED
- default y
- help
- Anonymous inode source for pseudo-files like epoll, signalfd,
- timerfd and eventfd.
-
- If unsure, say Y.
+ bool
config EPOLL
bool "Enable eventpoll support" if EMBEDDED
default y
- depends on ANON_INODES
+ select ANON_INODES
help
Disabling this option will cause the kernel to be built without
support for epoll family of system calls.
config SIGNALFD
bool "Enable signalfd() system call" if EMBEDDED
- depends on ANON_INODES
+ select ANON_INODES
default y
help
Enable the signalfd() system call that allows to receive signals
@@ -496,7 +490,7 @@
config TIMERFD
bool "Enable timerfd() system call" if EMBEDDED
- depends on ANON_INODES
+ select ANON_INODES
default y
help
Enable the timerfd() system call that allows to receive timer
@@ -506,7 +500,7 @@
config EVENTFD
bool "Enable eventfd() system call" if EMBEDDED
- depends on ANON_INODES
+ select ANON_INODES
default y
help
Enable the eventfd() system call that allows to receive both