Skip to content

Commit ea4b3fc

Browse files
committed
parisc: Drop useless debug info and comments from signal.c
Signed-off-by: Helge Deller <[email protected]>
1 parent 1260dea commit ea4b3fc

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

arch/parisc/kernel/signal.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -293,16 +293,6 @@ setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs,
293293
&frame->tramp[SIGRESTARTBLOCK_TRAMP+2]);
294294
err |= __put_user(INSN_NOP, &frame->tramp[SIGRESTARTBLOCK_TRAMP+3]);
295295

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-
306296
start = (unsigned long) &frame->tramp[0];
307297
end = (unsigned long) &frame->tramp[TRAMP_SIZE];
308298
flush_user_dcache_range_asm(start, end);
@@ -501,7 +491,6 @@ syscall_restart(struct pt_regs *regs, struct k_sigaction *ka)
501491
DBG(1,"ERESTARTNOHAND: returning -EINTR\n");
502492
regs->gr[28] = -EINTR;
503493
break;
504-
505494
case -ERESTARTSYS:
506495
if (!(ka->sa.sa_flags & SA_RESTART)) {
507496
DBG(1,"ERESTARTSYS: putting -EINTR\n");
@@ -569,10 +558,6 @@ insert_restart_trampoline(struct pt_regs *regs)
569558
}
570559

571560
/*
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-
*
576561
* We need to be able to restore the syscall arguments (r21-r26) to
577562
* restart syscalls. Thus, the syscall path should save them in the
578563
* pt_regs structure (it's okay to do so since they are caller-save

0 commit comments

Comments
 (0)