diff options
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0028-xen-pvhvm-do-not-remap-pirqs-onto-evtchns-if-xen_hav.patch')
-rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0028-xen-pvhvm-do-not-remap-pirqs-onto-evtchns-if-xen_hav.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0028-xen-pvhvm-do-not-remap-pirqs-onto-evtchns-if-xen_hav.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0028-xen-pvhvm-do-not-remap-pirqs-onto-evtchns-if-xen_hav.patch new file mode 100644 index 00000000..014dd68f --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0028-xen-pvhvm-do-not-remap-pirqs-onto-evtchns-if-xen_hav.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 3601bce60f271876c8dee6747ad5874aed96037f Mon Sep 17 00:00:00 2001 | ||
2 | From: Stefano Stabellini <stefano.stabellini@eu.citrix.com> | ||
3 | Date: Mon, 30 Jan 2012 14:31:46 +0000 | ||
4 | Subject: [PATCH 28/30] xen pvhvm: do not remap pirqs onto evtchns if | ||
5 | !xen_have_vector_callback | ||
6 | |||
7 | commit 207d543f472c1ac9552df79838dc807cbcaa9740 upstream. | ||
8 | |||
9 | Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> | ||
10 | Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | ||
11 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | ||
12 | --- | ||
13 | arch/x86/pci/xen.c | 2 +- | ||
14 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
15 | |||
16 | diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c | ||
17 | index 492ade8..d99346e 100644 | ||
18 | --- a/arch/x86/pci/xen.c | ||
19 | +++ b/arch/x86/pci/xen.c | ||
20 | @@ -374,7 +374,7 @@ int __init pci_xen_init(void) | ||
21 | |||
22 | int __init pci_xen_hvm_init(void) | ||
23 | { | ||
24 | - if (!xen_feature(XENFEAT_hvm_pirqs)) | ||
25 | + if (!xen_have_vector_callback || !xen_feature(XENFEAT_hvm_pirqs)) | ||
26 | return 0; | ||
27 | |||
28 | #ifdef CONFIG_ACPI | ||
29 | -- | ||
30 | 1.7.7.4 | ||
31 | |||