Re: kernel oops on ia64 (2.6.6 + 0521 ia64 patch)

From: David Mosberger
Date: Thu Jun 17 2004 - 14:42:04 EST


>>>>> On Thu, 17 Jun 2004 18:28:48 +0200, Balazs Scheidler <bazsi@xxxxxxxxxx> said:

>> Does the oops go away with an SMP kernel?

Balazs> yes, it does.

Does the attached patch fix the UP problem for you?

--david

===== include/asm-ia64/gcc_intrin.h 1.5 vs edited =====
--- 1.5/include/asm-ia64/gcc_intrin.h Mon May 10 23:44:41 2004
+++ edited/include/asm-ia64/gcc_intrin.h Thu Jun 17 12:10:52 2004
@@ -581,7 +587,7 @@

#define ia64_intrin_local_irq_restore(x) \
do { \
- asm volatile (" cmp.ne p6,p7=%0,r0;;" \
+ asm volatile (";; cmp.ne p6,p7=%0,r0;;" \
"(p6) ssm psr.i;" \
"(p7) rsm psr.i;;" \
"(p6) srlz.d" \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/