Commit c9a89dec authored by Yoshinori Sato's avatar Yoshinori Sato Committed by Benjamin Herrenschmidt

[PATCH] H8/300 start_thread problem fix

Illegal usp corrected a set problem in starting of thread.
parent a2dbe710
......@@ -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__)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment