Merge remote branch 'repo/master' into stats
[openvswitch] / datapath / linux-2.4 / compat-2.4 / compat24.c
1 /*
2  * Distributed under the terms of the GNU GPL version 2.
3  */
4
5 #include <linux/init.h>
6 #include <linux/module.h>
7 #include "compat24.h"
8
9 int __init compat24_init(void)
10 {
11         int err;
12
13         rcu_init();
14
15         err = random32_init();
16         if (err)
17                 return err;
18
19         init_kthread();
20
21         return genl_init();
22
23 }
24 module_init(compat24_init);
25
26 void __exit compat24_exit(void)
27 {
28         genl_exit();
29 }
30 module_exit(compat24_exit);