signal.c (d585a021c0b10b0477d6b608c53e1feb8cde0507) signal.c (172ae2e7f8ff9053905a36672453a6d2ff95b182)
1/*
2 * Common signal handling code for both 32 and 64 bits
3 *
4 * Copyright (c) 2007 Benjamin Herrenschmidt, IBM Coproration
5 * Extracted from signal_32.c and signal_64.c
6 *
7 * This file is subject to the terms and conditions of the GNU General
8 * Public License. See the file README.legal in the main directory of

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

142
143 /*
144 * Reenable the DABR before delivering the signal to
145 * user space. The DABR will have been cleared if it
146 * triggered inside the kernel.
147 */
148 if (current->thread.dabr) {
149 set_dabr(current->thread.dabr);
1/*
2 * Common signal handling code for both 32 and 64 bits
3 *
4 * Copyright (c) 2007 Benjamin Herrenschmidt, IBM Coproration
5 * Extracted from signal_32.c and signal_64.c
6 *
7 * This file is subject to the terms and conditions of the GNU General
8 * Public License. See the file README.legal in the main directory of

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

142
143 /*
144 * Reenable the DABR before delivering the signal to
145 * user space. The DABR will have been cleared if it
146 * triggered inside the kernel.
147 */
148 if (current->thread.dabr) {
149 set_dabr(current->thread.dabr);
150#if defined(CONFIG_BOOKE)
150#ifdef CONFIG_PPC_ADV_DEBUG_REGS
151 mtspr(SPRN_DBCR0, current->thread.dbcr0);
152#endif
153 }
154
155 if (is32) {
156 if (ka.sa.sa_flags & SA_SIGINFO)
157 ret = handle_rt_signal32(signr, &ka, &info, oldset,
158 regs);

--- 49 unchanged lines hidden ---
151 mtspr(SPRN_DBCR0, current->thread.dbcr0);
152#endif
153 }
154
155 if (is32) {
156 if (ka.sa.sa_flags & SA_SIGINFO)
157 ret = handle_rt_signal32(signr, &ka, &info, oldset,
158 regs);

--- 49 unchanged lines hidden ---