ptrace.h (67e364b3295f9dbf3b820d0edde86fb7c95efc98) ptrace.h (227ae625522c65c4535cabe407f47abc058585ed)
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

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

48 };
49 };
50
51 union {
52 struct {
53#ifdef CONFIG_PPC64
54 unsigned long ppr;
55#endif
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

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

48 };
49 };
50
51 union {
52 struct {
53#ifdef CONFIG_PPC64
54 unsigned long ppr;
55#endif
56 union {
56#ifdef CONFIG_PPC_KUAP
57#ifdef CONFIG_PPC_KUAP
57 unsigned long kuap;
58 unsigned long kuap;
58#endif
59#endif
60#ifdef CONFIG_PPC_PKEY
61 unsigned long amr;
62#endif
63 };
59 };
60 unsigned long __pad[2]; /* Maintain 16 byte interrupt stack alignment */
61 };
62};
63#endif
64
65#ifdef __powerpc64__
66

--- 252 unchanged lines hidden ---
64 };
65 unsigned long __pad[2]; /* Maintain 16 byte interrupt stack alignment */
66 };
67};
68#endif
69
70#ifdef __powerpc64__
71

--- 252 unchanged lines hidden ---