lkml.org 
[lkml]   [2008]   [Feb]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 16 Feb 2008 01:21:49 -0500
FromYoshinori Sato <>
SubjectRe: [PATCH 1/6] h8300 signal.c typo fix.
Sorry.
I forget Signed-off.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>

At Sat, 16 Feb 2008 01:12:58 -0500,
Yoshinori Sato wrote:
> 
> typo fix.
> 
>  arch/h8300/kernel/signal.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/h8300/kernel/signal.c b/arch/h8300/kernel/signal.c
> index 62ea12d..cf3472f 100644
> --- a/arch/h8300/kernel/signal.c
> +++ b/arch/h8300/kernel/signal.c
> @@ -352,7 +352,7 @@ static void setup_frame (int sig, struct k_sigaction *ka,
>  		ret = (unsigned char *)(ka->sa.sa_restorer);
>  	else {
>  		/* 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));
>  		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,
>  		ret = (unsigned char *)(ka->sa.sa_restorer);
>  	else {
>  		/* 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));
>  		err |= __put_user(0x5700, (unsigned short *)(frame->retcode + 4));
>  	}
> -- 
> 1.5.4.1
> 
> -- 
> Yoshinori Sato
> <ysato@users.sourceforge.jp>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-02-16 07:27    [from the cache]
©2003-2008