From 1d156d15403dff2ba1df5df155315324242e5bb1 Mon Sep 17 00:00:00 2001 From: "iap10@labyrinth.cl.cam.ac.uk" Date: Mon, 17 Jan 2005 08:11:17 +0000 Subject: [PATCH] bitkeeper revision 1.1159.170.99 (41eb7325xet5XQ2BbrNnK2ynj_F4XQ) Change __initcall to module_init as suggested by Rusty Russel --- linux-2.6.10-xen-sparse/drivers/xen/blkfront/blkfront.c | 2 +- linux-2.6.10-xen-sparse/drivers/xen/netfront/netfront.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/linux-2.6.10-xen-sparse/drivers/xen/blkfront/blkfront.c b/linux-2.6.10-xen-sparse/drivers/xen/blkfront/blkfront.c index e81afa9f03..9216e148e7 100644 --- a/linux-2.6.10-xen-sparse/drivers/xen/blkfront/blkfront.c +++ b/linux-2.6.10-xen-sparse/drivers/xen/blkfront/blkfront.c @@ -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) diff --git a/linux-2.6.10-xen-sparse/drivers/xen/netfront/netfront.c b/linux-2.6.10-xen-sparse/drivers/xen/netfront/netfront.c index 01bea1e6fc..358cb0ad16 100644 --- a/linux-2.6.10-xen-sparse/drivers/xen/netfront/netfront.c +++ b/linux-2.6.10-xen-sparse/drivers/xen/netfront/netfront.c @@ -1343,4 +1343,5 @@ void netif_resume(void) } -__initcall(netif_init); +module_init(netif_init); + -- 2.39.5