diff options
| author | Yoshinori Sato <ysato@users.sourceforge.jp> | 2004-02-20 17:10:04 -0800 |
|---|---|---|
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2004-02-20 17:10:04 -0800 |
| commit | c9a89dec5e35fc309255af1604c922b54d488e6f (patch) | |
| tree | a27564af8bac1b70082a4bfa6147bb97df584421 /include | |
| parent | a2dbe7109eaa39a869de8c3b11a4d02c1b37e94a (diff) | |
[PATCH] H8/300 start_thread problem fix
Illegal usp corrected a set problem in starting of thread.
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-h8300/processor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-h8300/processor.h b/include/asm-h8300/processor.h index a0bc63dd8b2b..7154a6a9d9c3 100644 --- a/include/asm-h8300/processor.h +++ b/include/asm-h8300/processor.h @@ -75,6 +75,7 @@ do { \ 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__) |
