}
asmlinkage int do_signal(struct pt_regs *regs, sigset_t *oldset){	siginfo_t info;	int signr;	struct k_sigaction ka;	/*	 * We want the common case to go fast, which	 * is why we may in certain cases get here from	 * kernel mode. Just return without doing anything	 * if so.	 */	if ((regs->ccr & 0x10))		return 1;	if (current->flags & PF_FREEZE) {		refrigerator(0);		goto no_signal;	}	current->thread.esp0 = (unsigned long) regs;	if (!oldset)		oldset = &current->blocked;	signr = get_signal_to_deliver(&info, &ka, regs, NULL);	if (signr > 0) {		/* Whee!  Actually deliver the signal.  */		handle_signal(signr, &info, &ka, oldset, regs);		return 1;	} no_signal:	/* Did we come from a system call? */	if (regs->orig_er0 >= 0) {		/* Restart the system call - no handlers present */		if (regs->er0 == -ERESTARTNOHAND ||		    regs->er0 == -ERESTARTSYS ||		    regs->er0 == -ERESTARTNOINTR) {			regs->er0 = regs->orig_er0;			regs->pc -= 2;		}		if (regs->er0 == -ERESTART_RESTARTBLOCK){			regs->er0 = __NR_restart_syscall;			regs->pc -= 2;		}	}	return 0;}