@@ -293,16 +293,6 @@ setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs,
293
293
& frame -> tramp [SIGRESTARTBLOCK_TRAMP + 2 ]);
294
294
err |= __put_user (INSN_NOP , & frame -> tramp [SIGRESTARTBLOCK_TRAMP + 3 ]);
295
295
296
- #if DEBUG_SIG
297
- /* Assert that we're flushing in the correct space... */
298
- {
299
- unsigned long sid ;
300
- asm ("mfsp %%sr3,%0" : "=r" (sid ));
301
- DBG (1 ,"setup_rt_frame: Flushing 64 bytes at space %#x offset %p\n" ,
302
- sid , frame -> tramp );
303
- }
304
- #endif
305
-
306
296
start = (unsigned long ) & frame -> tramp [0 ];
307
297
end = (unsigned long ) & frame -> tramp [TRAMP_SIZE ];
308
298
flush_user_dcache_range_asm (start , end );
@@ -501,7 +491,6 @@ syscall_restart(struct pt_regs *regs, struct k_sigaction *ka)
501
491
DBG (1 ,"ERESTARTNOHAND: returning -EINTR\n" );
502
492
regs -> gr [28 ] = - EINTR ;
503
493
break ;
504
-
505
494
case - ERESTARTSYS :
506
495
if (!(ka -> sa .sa_flags & SA_RESTART )) {
507
496
DBG (1 ,"ERESTARTSYS: putting -EINTR\n" );
@@ -569,10 +558,6 @@ insert_restart_trampoline(struct pt_regs *regs)
569
558
}
570
559
571
560
/*
572
- * Note that 'init' is a special process: it doesn't get signals it doesn't
573
- * want to handle. Thus you cannot kill init even with a SIGKILL even by
574
- * mistake.
575
- *
576
561
* We need to be able to restore the syscall arguments (r21-r26) to
577
562
* restart syscalls. Thus, the syscall path should save them in the
578
563
* pt_regs structure (it's okay to do so since they are caller-save
0 commit comments