public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] H8/300 start_thread problem fix
@ 2004-02-21 12:47 Yoshinori Sato
  0 siblings, 0 replies; only message in thread
From: Yoshinori Sato @ 2004-02-21 12:47 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux kernel Mailing List

Illegal usp corrected a set problem in starting of thread.

diff -X .exclude-diff -Nru linux-2.6.3/include/asm-h8300/processor.h linux-2.6.3-h8300/include/asm-h8300/processor.h
--- linux-2.6.3/include/asm-h8300/processor.h	2004-01-09 15:59:09.000000000 +0900
+++ linux-2.6.3-h8300/include/asm-h8300/processor.h	2004-02-20 02:45:46.000000000 +0900
@@ -75,6 +75,7 @@
 	set_fs(USER_DS);           /* reads from user space */  \
   	(_regs)->pc = (_pc);				        \
 	(_regs)->ccr &= 0x00;	   /* clear kernel flag */      \
+	wrusp((unsigned long)(_usp) - sizeof(unsigned long)*3);	\
 } while(0)
 #endif
 #if defined(__H8300S__)

-- 
Yoshinori Sato
<ysato@users.sourceforge.jp>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-21 12:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-21 12:47 [PATCH] H8/300 start_thread problem fix Yoshinori Sato

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