hrtimer: don't modify restart_block->fn in restart functions
[safe/jmp/linux-2.6] / kernel / compat.c
index f2a2975..5f0e201 100644 (file)
@@ -55,7 +55,6 @@ static long compat_nanosleep_restart(struct restart_block *restart)
        set_fs(oldfs);
 
        if (ret) {
-               restart->fn = compat_nanosleep_restart;
                restart->arg1 = (unsigned long)rmtp;
 
                if (rmtp && put_compat_timespec(&rmt, rmtp))