linux/arch/powerpc
Michael Ellerman 3eeacd9f4e powerpc/ptrace: Don't use sizeof(struct pt_regs) in ptrace code
Now that we've split the user & kernel versions of pt_regs we need to
be more careful in the ptrace code.

For now we've ensured the location of the fields in both structs is
the same, so most of the ptrace code doesn't need updating.

But there are a few places where we use sizeof(pt_regs), and these
will be wrong as soon as we increase the size of the kernel structure.

So flip them all to use sizeof(user_pt_regs).

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-10-14 18:04:09 +11:00
..
boot powerpc/boot: Build boot wrapper with optimisations 2018-10-13 22:21:25 +11:00
configs powerpc/config: Enable CONFIG_PRINTK_TIME 2018-10-03 15:40:06 +10:00
crypto powerpc updates for 4.19 2018-08-17 11:32:50 -07:00
include powerpc: Split user/kernel definitions of struct pt_regs 2018-10-14 18:04:09 +11:00
kernel powerpc/ptrace: Don't use sizeof(struct pt_regs) in ptrace code 2018-10-14 18:04:09 +11:00
kvm PPC KVM fixes for 4.19 2018-09-04 21:12:46 +02:00
lib powerpc: handover page flags with a pgprot_t parameter 2018-10-14 18:04:09 +11:00
math-emu License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mm powerpc/8xx: change name of a few page flags to avoid confusion 2018-10-14 18:04:09 +11:00
net powerpc updates for 4.19 2018-08-17 11:32:50 -07:00
oprofile treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
perf powerpc/perf: Quiet IMC PMU registration message 2018-10-13 22:21:25 +11:00
platforms powerpc/mm: properly set PAGE_KERNEL flags in ioremap() 2018-10-14 18:04:09 +11:00
purgatory powerpc updates for 4.19 2018-08-17 11:32:50 -07:00
sysdev powerpc: don't use ioremap_prot() nor __ioremap() unless really needed. 2018-10-14 18:04:09 +11:00
tools powerpc: Add a checkpatch wrapper with our preferred settings 2018-08-07 21:49:25 +10:00
xmon powerpc/mm: use pte helpers in generic code 2018-10-14 18:04:09 +11:00
Kconfig powerpc: Fix stackprotector detection for non-glibc toolchains 2018-10-13 22:21:25 +11:00
Kconfig.debug powerpc: remove redundant 'default n' from Kconfig-s 2018-10-13 22:21:25 +11:00
Makefile powerpc/Makefile: Fix PPC_BOOK3S_64 ASFLAGS 2018-10-13 22:21:25 +11:00
Makefile.postlink License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00