Skip to content
Commit 6ce7bff0 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

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: 002af939

 ("powerpc: Split user/kernel definitions of struct pt_regs")
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 22a3d03d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment