ptrace.h (6f50fa2a6f1395ad5f59ce7b87730f1f3ea19d76) ptrace.h (12c3f1fd87bf4e55f06d079a45d6f15e2f6f9750)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright (C) 2001 PPC64 Team, IBM Corp
4 *
5 * This struct defines the way the registers are stored on the
6 * kernel stack during a system call or other kernel entry.
7 *
8 * this should only contain volatile regs

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

198#define CHECK_FULL_REGS(regs) \
199do { \
200 if ((regs)->trap & 1) \
201 printk(KERN_CRIT "%s: partial register set\n", __func__); \
202} while (0)
203#endif /* __powerpc64__ */
204
205#define arch_has_single_step() (1)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright (C) 2001 PPC64 Team, IBM Corp
4 *
5 * This struct defines the way the registers are stored on the
6 * kernel stack during a system call or other kernel entry.
7 *
8 * this should only contain volatile regs

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

198#define CHECK_FULL_REGS(regs) \
199do { \
200 if ((regs)->trap & 1) \
201 printk(KERN_CRIT "%s: partial register set\n", __func__); \
202} while (0)
203#endif /* __powerpc64__ */
204
205#define arch_has_single_step() (1)
206#define arch_has_block_step() (!cpu_has_feature(CPU_FTR_601))
206#ifndef CONFIG_BOOK3S_601
207#define arch_has_block_step() (true)
208#else
209#define arch_has_block_step() (false)
210#endif
207#define ARCH_HAS_USER_SINGLE_STEP_REPORT
208
209/*
210 * kprobe-based event tracer support
211 */
212
213#include <linux/stddef.h>
214#include <linux/thread_info.h>

--- 68 unchanged lines hidden ---
211#define ARCH_HAS_USER_SINGLE_STEP_REPORT
212
213/*
214 * kprobe-based event tracer support
215 */
216
217#include <linux/stddef.h>
218#include <linux/thread_info.h>

--- 68 unchanged lines hidden ---