/[pkg-src]/trunk/kernel26-xen/patches-2.6.25-r1/1095-2.6.25-xen-irq-vector-ifdef-chainsaw-FIXME.patch |
Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1095-2.6.25-xen-irq-vector-ifdef-chainsaw-FIXME.patch
Parent Directory | Revision Log
Revision 606 -
(show annotations)
(download)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 893 byte(s)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 893 byte(s)
-ver bump to 2.6.25-magellan-r1: - linux-2.6.25.4 - fbcondecor-0.9.4 - squashfs-3.3 - unionfs-2.3.3 - tuxonice-3.0-rc7 - linux-phc-0.3.0 - acpi-dstd-0.9a - reiser4 - xen-3.2.0 . ipw3945-1.2.2
1 | From e0e1c2f6309ea708085ed072c68374888150c8f5 Mon Sep 17 00:00:00 2001 |
2 | From: Eduardo Habkost <ehabkost@redhat.com> |
3 | Date: Fri, 4 Jan 2008 11:36:34 -0200 |
4 | Subject: [PATCH] irq<->vector #ifdef chainsaw (FIXME) |
5 | |
6 | Xen doesn't need the vector<->irq translation. |
7 | |
8 | Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> |
9 | --- |
10 | arch/x86/kernel/irq_64.c | 5 +++++ |
11 | 1 files changed, 5 insertions(+), 0 deletions(-) |
12 | |
13 | diff --git a/arch/x86/kernel/irq_64.c b/arch/x86/kernel/irq_64.c |
14 | index 3aac154..f5e486c 100644 |
15 | --- a/arch/x86/kernel/irq_64.c |
16 | +++ b/arch/x86/kernel/irq_64.c |
17 | @@ -167,7 +167,12 @@ asmlinkage unsigned int do_IRQ(struct pt_regs *regs) |
18 | |
19 | exit_idle(); |
20 | irq_enter(); |
21 | +#ifdef CONFIG_XEN |
22 | + /*FIXME: make vector_irq[] make sense, at runtime */ |
23 | + irq = vector; |
24 | +#else |
25 | irq = __get_cpu_var(vector_irq)[vector]; |
26 | +#endif |
27 | |
28 | #ifdef CONFIG_DEBUG_STACKOVERFLOW |
29 | stack_overflow_check(regs); |
30 | -- |
31 | 1.5.4.1 |
32 |