Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1645710
| From | Juergen Gross <jgross@suse.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 04/10] xen: remove non-pv test from arch/x86/xen/irq.c |
| Date | 2017-05-19 18:00 +0200 |
| Message-ID | <tIStR-4fG-47@gated-at.bofh.it> (permalink) |
| References | <tISk9-4bg-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
As arch/x86/xen/irq.c is used for pv-guests only, there is no need to
have a test targeting a HVM guest in it. Remove it.
Signed-off-by: Juergen Gross <jgross@suse.com>
---
arch/x86/xen/irq.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/x86/xen/irq.c b/arch/x86/xen/irq.c
index 33e92955e09d..3b55ae664521 100644
--- a/arch/x86/xen/irq.c
+++ b/arch/x86/xen/irq.c
@@ -130,8 +130,6 @@ static const struct pv_irq_ops xen_irq_ops __initconst = {
void __init xen_init_irq_ops(void)
{
- /* For PVH we use default pv_irq_ops settings. */
- if (!xen_feature(XENFEAT_hvm_callback_vector))
- pv_irq_ops = xen_irq_ops;
+ pv_irq_ops = xen_irq_ops;
x86_init.irqs.intr_init = xen_init_IRQ;
}
--
2.12.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/10] paravirt: make amount of paravirtualization configurable Juergen Gross <jgross@suse.com> - 2017-05-19 18:00 +0200
[PATCH 03/10] xen: move interrupt handling for pv guests under CONFIG_XEN_PV umbrella Juergen Gross <jgross@suse.com> - 2017-05-19 18:00 +0200
[PATCH 04/10] xen: remove non-pv test from arch/x86/xen/irq.c Juergen Gross <jgross@suse.com> - 2017-05-19 18:00 +0200
Re: [PATCH 00/10] paravirt: make amount of paravirtualization configurable Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-05-22 21:50 +0200
Re: [PATCH 00/10] paravirt: make amount of paravirtualization configurable Juergen Gross <jgross@suse.com> - 2017-05-23 08:30 +0200
csiph-web