signal_64.c (cc9b94029e9ef51787af908e9856b1eed314bc00) signal_64.c (e8f4aa6087fa80732382881ef7c0c96733bb1984)
1/*
2 * arch/sparc64/kernel/signal.c
3 *
4 * Copyright (C) 1991, 1992 Linus Torvalds
5 * Copyright (C) 1995, 2008 David S. Miller (davem@davemloft.net)
6 * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx)
7 * Copyright (C) 1997 Eddie C. Dost (ecd@skynet.be)
8 * Copyright (C) 1997,1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)

--- 531 unchanged lines hidden (view full) ---

540 }
541 restore_saved_sigmask();
542 }
543}
544
545void do_notify_resume(struct pt_regs *regs, unsigned long orig_i0, unsigned long thread_info_flags)
546{
547 user_exit();
1/*
2 * arch/sparc64/kernel/signal.c
3 *
4 * Copyright (C) 1991, 1992 Linus Torvalds
5 * Copyright (C) 1995, 2008 David S. Miller (davem@davemloft.net)
6 * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx)
7 * Copyright (C) 1997 Eddie C. Dost (ecd@skynet.be)
8 * Copyright (C) 1997,1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)

--- 531 unchanged lines hidden (view full) ---

540 }
541 restore_saved_sigmask();
542 }
543}
544
545void do_notify_resume(struct pt_regs *regs, unsigned long orig_i0, unsigned long thread_info_flags)
546{
547 user_exit();
548 if (thread_info_flags & _TIF_UPROBE)
549 uprobe_notify_resume(regs);
548 if (thread_info_flags & _TIF_SIGPENDING)
549 do_signal(regs, orig_i0);
550 if (thread_info_flags & _TIF_NOTIFY_RESUME) {
551 clear_thread_flag(TIF_NOTIFY_RESUME);
552 tracehook_notify_resume(regs);
553 }
554 user_enter();
555}
556
550 if (thread_info_flags & _TIF_SIGPENDING)
551 do_signal(regs, orig_i0);
552 if (thread_info_flags & _TIF_NOTIFY_RESUME) {
553 clear_thread_flag(TIF_NOTIFY_RESUME);
554 tracehook_notify_resume(regs);
555 }
556 user_enter();
557}
558