ia64/xen-unstable

changeset 3446:515888a1b568

bitkeeper revision 1.1159.170.99 (41eb7325xet5XQ2BbrNnK2ynj_F4XQ)

Change __initcall to module_init as suggested by Rusty Russel
author iap10@labyrinth.cl.cam.ac.uk
date Mon Jan 17 08:11:17 2005 +0000 (2005-01-17)
parents 4138bf07f607
children d1c129322f63
files linux-2.6.10-xen-sparse/drivers/xen/blkfront/blkfront.c linux-2.6.10-xen-sparse/drivers/xen/netfront/netfront.c
line diff
     1.1 --- a/linux-2.6.10-xen-sparse/drivers/xen/blkfront/blkfront.c	Mon Jan 17 07:58:26 2005 +0000
     1.2 +++ b/linux-2.6.10-xen-sparse/drivers/xen/blkfront/blkfront.c	Mon Jan 17 08:11:17 2005 +0000
     1.3 @@ -167,7 +167,7 @@ static inline void flush_requests(void)
     1.4  
     1.5  #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
     1.6  
     1.7 -__initcall(xlblk_init);
     1.8 +module_init(xlblk_init);
     1.9  
    1.10  #if ENABLE_VBD_UPDATE
    1.11  static void vbd_update(void)
     2.1 --- a/linux-2.6.10-xen-sparse/drivers/xen/netfront/netfront.c	Mon Jan 17 07:58:26 2005 +0000
     2.2 +++ b/linux-2.6.10-xen-sparse/drivers/xen/netfront/netfront.c	Mon Jan 17 08:11:17 2005 +0000
     2.3 @@ -1343,4 +1343,5 @@ void netif_resume(void)
     2.4  }
     2.5  
     2.6  
     2.7 -__initcall(netif_init);
     2.8 +module_init(netif_init);
     2.9 +