diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2018-10-13 00:39:31 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-10-14 18:04:09 +1100 |
commit | 3eeacd9f4ea33546f272fcf131d6a11edbe3b4a6 (patch) | |
tree | ac1398c7b5925a65e4c7e5dfb566f9a412c37a59 /arch/powerpc/include/asm/mmzone.h | |
parent | 002af9391bfbe84f8e491bb10bd9c6001a6becee (diff) | |
download | talos-obmc-linux-3eeacd9f4ea33546f272fcf131d6a11edbe3b4a6.tar.gz talos-obmc-linux-3eeacd9f4ea33546f272fcf131d6a11edbe3b4a6.zip |
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>
Diffstat (limited to 'arch/powerpc/include/asm/mmzone.h')
0 files changed, 0 insertions, 0 deletions