public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* IA32 programs make kernel stall on IPF machine when CONFIG_PREEMPT is enabled
@ 2004-03-10  4:40 Zhang, Yanmin
  2004-03-10 18:17 ` Arun Sharma
  2004-03-10 21:01 ` David Mosberger
  0 siblings, 2 replies; 3+ messages in thread
From: Zhang, Yanmin @ 2004-03-10  4:40 UTC (permalink / raw)
  To: linux-ia64

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();
 }
 
 /*


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-10 21:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-10  4:40 IA32 programs make kernel stall on IPF machine when CONFIG_PREEMPT is enabled Zhang, Yanmin
2004-03-10 18:17 ` Arun Sharma
2004-03-10 21:01 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox