ia64/xen-unstable

changeset 13405:c6cea93d3cd9

[PV-on-HVM] Allow platform interrupt to be used for entropy.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri Jan 12 14:40:13 2007 +0000 (2007-01-12)
parents 7ad205a162a8
children 7bf03e7ad6d0
files unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
line diff
     1.1 --- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c	Fri Jan 12 14:38:30 2007 +0000
     1.2 +++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c	Fri Jan 12 14:40:13 2007 +0000
     1.3 @@ -250,10 +250,10 @@ static int __devinit platform_pci_init(s
     1.4  	if ((ret = init_xen_info()))
     1.5  		goto out;
     1.6  
     1.7 -	if ((ret = request_irq(pdev->irq, evtchn_interrupt, SA_SHIRQ,
     1.8 -			       "xen-platform-pci", pdev))) {
     1.9 +	if ((ret = request_irq(pdev->irq, evtchn_interrupt,
    1.10 +			       SA_SHIRQ | SA_SAMPLE_RANDOM,
    1.11 +			       "xen-platform-pci", pdev)))
    1.12  		goto out;
    1.13 -	}
    1.14  
    1.15  	if ((ret = set_callback_via(callback_via)))
    1.16  		goto out;