diff --git a/[refs] b/[refs] index 4e7884c4f9ca..8e81c8ac6c4f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: da66f7cb0f69ab27dbf5b9d0b85c4b97716c44d1 +refs/heads/master: cea69241870e55638156a026814551d6c575fd7f diff --git a/trunk/fs/eventpoll.c b/trunk/fs/eventpoll.c index 2831c8f9f3e3..e224abfd9197 100644 --- a/trunk/fs/eventpoll.c +++ b/trunk/fs/eventpoll.c @@ -11,7 +11,6 @@ * */ -#include #include #include #include @@ -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");