traps.c (1346e9331abe8d08c05148def1cb2cdf03085c40) | traps.c (5222a1d5142ec4f9ec063b274b80e20639584dbc) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 4 * Copyright 2007-2010 Freescale Semiconductor, Inc. 5 * 6 * Modified by Cort Dougan (cort@cs.nmt.edu) 7 * and Paul Mackerras (paulus@samba.org) 8 */ --- 1144 unchanged lines hidden (view full) --- 1153} 1154 1155/* 1156 * After we have successfully emulated an instruction, we have to 1157 * check if the instruction was being single-stepped, and if so, 1158 * pretend we got a single-step exception. This was pointed out 1159 * by Kumar Gala. -- paulus 1160 */ | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 4 * Copyright 2007-2010 Freescale Semiconductor, Inc. 5 * 6 * Modified by Cort Dougan (cort@cs.nmt.edu) 7 * and Paul Mackerras (paulus@samba.org) 8 */ --- 1144 unchanged lines hidden (view full) --- 1153} 1154 1155/* 1156 * After we have successfully emulated an instruction, we have to 1157 * check if the instruction was being single-stepped, and if so, 1158 * pretend we got a single-step exception. This was pointed out 1159 * by Kumar Gala. -- paulus 1160 */ |
1161static void emulate_single_step(struct pt_regs *regs) | 1161void emulate_single_step(struct pt_regs *regs) |
1162{ 1163 if (single_stepping(regs)) 1164 __single_step_exception(regs); 1165} 1166 1167static inline int __parse_fpscr(unsigned long fpscr) 1168{ 1169 int ret = FPE_FLTUNK; --- 1154 unchanged lines hidden --- | 1162{ 1163 if (single_stepping(regs)) 1164 __single_step_exception(regs); 1165} 1166 1167static inline int __parse_fpscr(unsigned long fpscr) 1168{ 1169 int ret = FPE_FLTUNK; --- 1154 unchanged lines hidden --- |