Commit 207d543f472c1ac9552df79838dc807cbcaa9740

Authored by Stefano Stabellini
Committed by Konrad Rzeszutek Wilk
1 parent 41bd956de3

xen pvhvm: do not remap pirqs onto evtchns if !xen_have_vector_callback

CC: stable@kernel.org #2.6.37 and onwards
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -374,7 +374,7 @@
374 374  
375 375 int __init pci_xen_hvm_init(void)
376 376 {
377   - if (!xen_feature(XENFEAT_hvm_pirqs))
  377 + if (!xen_have_vector_callback || !xen_feature(XENFEAT_hvm_pirqs))
378 378 return 0;
379 379  
380 380 #ifdef CONFIG_ACPI