ia64/xen-unstable

changeset 2120:de0a88369f30

bitkeeper revision 1.1159.1.10 (41166898jfM2rQDBL4cMDDNtx6P9VA)

Allow blkdev frontend driver to create entropy for /dev/random.
author kaf24@scramble.cl.cam.ac.uk
date Sun Aug 08 17:53:28 2004 +0000 (2004-08-08)
parents 1baf3765a8d9
children 0064c2d431f4
files linux-2.4.26-xen-sparse/arch/xen/drivers/blkif/frontend/main.c linux-2.6.7-xen-sparse/drivers/xen/blkfront/blkfront.c
line diff
     1.1 --- a/linux-2.4.26-xen-sparse/arch/xen/drivers/blkif/frontend/main.c	Sun Aug 08 08:52:34 2004 +0000
     1.2 +++ b/linux-2.4.26-xen-sparse/arch/xen/drivers/blkif/frontend/main.c	Sun Aug 08 17:53:28 2004 +0000
     1.3 @@ -655,7 +655,8 @@ static void blkif_status_change(blkif_fe
     1.4  
     1.5          blkif_evtchn = status->evtchn;
     1.6          blkif_irq = bind_evtchn_to_irq(blkif_evtchn);
     1.7 -        (void)request_irq(blkif_irq, blkif_int, 0, "blkif", NULL);
     1.8 +        (void)request_irq(blkif_irq, blkif_int, 
     1.9 +                          SA_SAMPLE_RANDOM, "blkif", NULL);
    1.10  
    1.11          if ( recovery )
    1.12          {
     2.1 --- a/linux-2.6.7-xen-sparse/drivers/xen/blkfront/blkfront.c	Sun Aug 08 08:52:34 2004 +0000
     2.2 +++ b/linux-2.6.7-xen-sparse/drivers/xen/blkfront/blkfront.c	Sun Aug 08 17:53:28 2004 +0000
     2.3 @@ -465,7 +465,8 @@ static void blkif_status_change(blkif_fe
     2.4  
     2.5          blkif_evtchn = status->evtchn;
     2.6          blkif_irq = bind_evtchn_to_irq(blkif_evtchn);
     2.7 -        (void)request_irq(blkif_irq, blkif_int, 0, "blkif", NULL);
     2.8 +        (void)request_irq(blkif_irq, blkif_int, 
     2.9 +                          SA_SAMPLE_RANDOM, "blkif", NULL);
    2.10  
    2.11          if ( recovery )
    2.12          {