lkml.org 
[lkml]   [2010]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    Subject[PATCH 4/5] frv: handling of restart into restart_syscall is fscked
    From

    syscall number is in gr7, not gr8...

    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    ---
    arch/frv/kernel/signal.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/arch/frv/kernel/signal.c b/arch/frv/kernel/signal.c
    index fa40d54..ad74e2e 100644
    --- a/arch/frv/kernel/signal.c
    +++ b/arch/frv/kernel/signal.c
    @@ -547,7 +547,7 @@ no_signal:
    break;

    case -ERESTART_RESTARTBLOCK:
    - __frame->gr8 = __NR_restart_syscall;
    + __frame->gr7 = __NR_restart_syscall;
    __frame->pc -= 4;
    break;
    }
    --
    1.5.6.5



    \
     
     \ /
      Last update: 2010-09-18 21:45    [W:0.022 / U:0.144 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site