Explorar o código

[IPV4]: inet_init() -> fs_initcall

Convert inet_init to an fs_initcall to make sure its called before any
device driver's initcall.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Heiko Carstens %!s(int64=19) %!d(string=hai) anos
pai
achega
a536e07787
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      net/ipv4/af_inet.c

+ 1 - 1
net/ipv4/af_inet.c

@@ -1257,7 +1257,7 @@ static int __init inet_init(void)
 	goto out;
 	goto out;
 }
 }
 
 
-module_init(inet_init);
+fs_initcall(inet_init);
 
 
 /* ------------------------------------------------------------------------ */
 /* ------------------------------------------------------------------------ */