mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 18:20:54 +07:00
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>
This commit is contained in:
parent
41bd956de3
commit
207d543f47
@ -374,7 +374,7 @@ int __init pci_xen_init(void)
|
|||||||
|
|
||||||
int __init pci_xen_hvm_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;
|
return 0;
|
||||||
|
|
||||||
#ifdef CONFIG_ACPI
|
#ifdef CONFIG_ACPI
|
||||||
|
Loading…
Reference in New Issue
Block a user