Initial import
[sliver-openvswitch.git] / 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/module.h>
6 #include "compat24.h"
7
8 int __init compat24_init(void)
9 {
10         int err;
11
12         rcu_init();
13
14         err = random32_init();
15         if (err)
16                 return err;
17
18         return genl_init();
19
20 }
21 module_init(compat24_init);
22
23 void __exit compat24_exit(void)
24 {
25         genl_exit();
26 }
27 module_exit(compat24_exit);