lkml.org 
[lkml]   [2012]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] xen pvhvm: do not remap pirqs onto evtchns if !xen_have_vector_callback

    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>

    diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c
    index 492ade8..d99346e 100644
    --- a/arch/x86/pci/xen.c
    +++ b/arch/x86/pci/xen.c
    @@ -374,7 +374,7 @@ int __init pci_xen_init(void)

    int __init pci_xen_hvm_init(void)
    {
    - if (!xen_feature(XENFEAT_hvm_pirqs))
    + if (!xen_have_vector_callback || !xen_feature(XENFEAT_hvm_pirqs))
    return 0;

    #ifdef CONFIG_ACPI

    \
     
     \ /
      Last update: 2012-01-30 15:33    [W:0.019 / U:32.428 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site