]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/aout: Fix struct user definition to use user_pt_regs
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 15 Oct 2018 12:01:43 +0000 (23:01 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 19 Oct 2018 04:09:04 +0000 (15:09 +1100)
commit3e946dff364f425be12bcd2c7619561fa63a1c5b
treec38a375aa5f1aede3c5aa20529c3d8d798eaae2b
parentd29b0aad64a85fab91d3415fb6ec9a2643597f26
powerpc/aout: Fix struct user definition to use user_pt_regs

I'm pretty sure this is dead code, it's only used by the a.out core
dump code, and we don't support a.out. We should remove it.

But while it's in the tree it should be using the ABI version of
pt_regs which is called user_pt_regs in the kernel, because the whole
struct is written to the core dump and so its size shouldn't change.

Note this isn't a uapi header so we don't need an ifdef.

Fixes: 1a123cc850b4 ("powerpc: Split user/kernel definitions of struct pt_regs")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/user.h