Commit 45d464eb authored by Yoshinori Sato's avatar Yoshinori Sato Committed by Linus Torvalds

h8300: signal.c typo fix

typo fix.
Signed-off-by: default avatarYoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a0c1e907
...@@ -352,7 +352,7 @@ static void setup_frame (int sig, struct k_sigaction *ka, ...@@ -352,7 +352,7 @@ static void setup_frame (int sig, struct k_sigaction *ka,
ret = (unsigned char *)(ka->sa.sa_restorer); ret = (unsigned char *)(ka->sa.sa_restorer);
else { else {
/* sub.l er0,er0; mov.b #__NR_sigreturn,r0l; trapa #0 */ /* sub.l er0,er0; mov.b #__NR_sigreturn,r0l; trapa #0 */
err != __put_user(0x1a80f800 + (__NR_sigreturn & 0xff), err |= __put_user(0x1a80f800 + (__NR_sigreturn & 0xff),
(unsigned long *)(frame->retcode + 0)); (unsigned long *)(frame->retcode + 0));
err |= __put_user(0x5700, (unsigned short *)(frame->retcode + 4)); err |= __put_user(0x5700, (unsigned short *)(frame->retcode + 4));
} }
...@@ -428,7 +428,7 @@ static void setup_rt_frame (int sig, struct k_sigaction *ka, siginfo_t *info, ...@@ -428,7 +428,7 @@ static void setup_rt_frame (int sig, struct k_sigaction *ka, siginfo_t *info,
ret = (unsigned char *)(ka->sa.sa_restorer); ret = (unsigned char *)(ka->sa.sa_restorer);
else { else {
/* sub.l er0,er0; mov.b #__NR_sigreturn,r0l; trapa #0 */ /* sub.l er0,er0; mov.b #__NR_sigreturn,r0l; trapa #0 */
err != __put_user(0x1a80f800 + (__NR_sigreturn & 0xff), err |= __put_user(0x1a80f800 + (__NR_sigreturn & 0xff),
(unsigned long *)(frame->retcode + 0)); (unsigned long *)(frame->retcode + 0));
err |= __put_user(0x5700, (unsigned short *)(frame->retcode + 4)); err |= __put_user(0x5700, (unsigned short *)(frame->retcode + 4));
} }
......
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