[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#397281: patch resend (was: BUG: warning@kernel/irq/handle.c:177/__do_IRQ())



Attached.


-- 
- hallo... wie gehts heute?
- *hust* gut *rotz* *keuch*
- gott sei dank kommunizieren wir über ein septisches medium ;)
 -- Matthias Leeb, Uni f. angewandte Kunst, 2005-02-15
--- orig/linux-2.6-2.6.18/debian/patches/features/all/xen/fedora-36252.patch	2006-11-06 09:36:27.000000000 +0100
+++ linux-2.6-2.6.18.modified/debian/patches/features/all/xen/fedora-36252.patch	2006-11-05 22:44:50.000000000 +0100
@@ -7210,7 +7210,7 @@
 diff -urN -x .hg -x .hgtags linux-2.6.18.1/arch/i386/kernel/irq-xen.c linux-2.6.18-xen/arch/i386/kernel/irq-xen.c
 --- linux-2.6.18.1/arch/i386/kernel/irq-xen.c	1970-01-01 01:00:00.000000000 +0100
 +++ linux-2.6.18-xen/arch/i386/kernel/irq-xen.c	2006-09-04 16:31:00.000000000 +0200
-@@ -0,0 +1,324 @@
+@@ -0,0 +1,328 @@
 +/*
 + *	linux/arch/i386/kernel/irq.c
 + *
@@ -7231,6 +7231,7 @@
 +#include <linux/notifier.h>
 +#include <linux/cpu.h>
 +#include <linux/delay.h>
++#include <linux/vs_context.h>
 +
 +DEFINE_PER_CPU(irq_cpustat_t, irq_stat) ____cacheline_internodealigned_in_smp;
 +EXPORT_PER_CPU_SYMBOL(irq_stat);
@@ -7268,6 +7269,7 @@
 +{	
 +	/* high bit used in ret_from_ code */
 +	int irq = ~regs->orig_eax;
++       struct vx_info_save vxis;
 +#ifdef CONFIG_4KSTACKS
 +	union irq_ctx *curctx, *irqctx;
 +	u32 *isp;
@@ -7295,6 +7297,7 @@
 +	}
 +#endif
 +
++       __enter_vx_admin(&vxis);
 +#ifdef CONFIG_4KSTACKS
 +
 +	curctx = (union irq_ctx *) current_thread_info();
@@ -7333,6 +7336,7 @@
 +	} else
 +#endif
 +		__do_IRQ(irq, regs);
++       __leave_vx_admin(&vxis);
 +
 +	irq_exit();
 +

Attachment: pgp90vlmARDjG.pgp
Description: PGP signature


Reply to: