IA32 programs make kernel stall on IPF machine when CONFIG_PREEMPT is enabled

From: Zhang, Yanmin <yanmin.zhang_at_intel.com>
Date: 2004-03-10 15:40:00
There is a bug in base kernel 2.6.3. When CONFIG_PREEMPT is enabled, all
IA32 programs will make kernel stall on IPF machines.

Here is the patch to fix it.

diff -Narup a/arch/ia64/ia32/ia32_support.c
b/arch/ia64/ia32/ia32_support.c
--- a/arch/ia64/ia32/ia32_support.c	2004-03-09 23:13:53.000000000
-0800
+++ b/arch/ia64/ia32/ia32_support.c	2004-03-09 23:28:14.052063896
-0800
@@ -134,8 +134,6 @@ ia32_load_state (struct task_struct *t)
 	regs->r17 = (_TSS << 48) | (_LDT << 32) | (__u32) regs->r17;
 	regs->r30 = load_desc(_LDT);				/* LDTD
*/
 	load_TLS(&t->thread, smp_processor_id());
-
-	put_cpu();
 }
 
 /*

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Mar 10 00:39:32 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:24 EST