]> xenbits.xensource.com Git - xen.git/commitdiff
bitkeeper revision 1.1159.170.99 (41eb7325xet5XQ2BbrNnK2ynj_F4XQ)
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Mon, 17 Jan 2005 08:11:17 +0000 (08:11 +0000)
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Mon, 17 Jan 2005 08:11:17 +0000 (08:11 +0000)
Change __initcall to module_init as suggested by Rusty Russel

linux-2.6.10-xen-sparse/drivers/xen/blkfront/blkfront.c
linux-2.6.10-xen-sparse/drivers/xen/netfront/netfront.c

index e81afa9f03cf42af775b92c3efa22d5d232e235f..9216e148e71f4ffb3d9b36b72d7cfbdde49974fb 100644 (file)
@@ -167,7 +167,7 @@ static inline void flush_requests(void)
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
 
-__initcall(xlblk_init);
+module_init(xlblk_init);
 
 #if ENABLE_VBD_UPDATE
 static void vbd_update(void)
index 01bea1e6fc0e5a45fcb915aeb3a7b1532668ab4f..358cb0ad16fa8ef06579de5db605b094ccbd4869 100644 (file)
@@ -1343,4 +1343,5 @@ void netif_resume(void)
 }
 
 
-__initcall(netif_init);
+module_init(netif_init);
+