Skip to content

Commit

Permalink
xen pvhvm: do not remap pirqs onto evtchns if !xen_have_vector_callback
Browse files Browse the repository at this point in the history
CC: stable@kernel.org raspberrypi#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>
  • Loading branch information
Stefano Stabellini authored and konradwilk committed Feb 3, 2012
1 parent 41bd956 commit 207d543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/pci/xen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 207d543

Please sign in to comment.