Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cea69241870e55638156a026814551d6c575fd7f Commit: cea69241870e55638156a026814551d6c575fd7f Parent: da66f7cb0f69ab27dbf5b9d0b85c4b97716c44d1 Author: Davide Libenzi <[EMAIL PROTECTED]> AuthorDate: Thu May 10 22:23:22 2007 -0700 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Fri May 11 08:29:37 2007 -0700
epoll cleanups: epoll no module Epoll is either compiled it, or not (if EMBEDDED). Remove the module code and use fs_initcall(). Signed-off-by: Davide Libenzi <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- fs/eventpoll.c | 14 +------------- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 2831c8f..e224abf 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c @@ -11,7 +11,6 @@ * */ -#include <linux/module.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/sched.h> @@ -1471,16 +1470,5 @@ static int __init eventpoll_init(void) return 0; } +fs_initcall(eventpoll_init); - -static void __exit eventpoll_exit(void) -{ - /* Undo all operations done inside eventpoll_init() */ - kmem_cache_destroy(pwq_cache); - kmem_cache_destroy(epi_cache); -} - -module_init(eventpoll_init); -module_exit(eventpoll_exit); - -MODULE_LICENSE("GPL"); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html