arm64: compat: use compat_uptr_t type for compat_ucontext.uc_link
authorWill Deacon <will.deacon@arm.com>
Wed, 6 Feb 2013 11:42:23 +0000 (11:42 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 13:38:38 +0000 (05:38 -0800)
commit97730e9fae095b8a6da1d4b3494cc648a4c35bb1
treec470063a85c05e6d7ad17ec2baacd56359cdaed4
parent9165cb49782ac3321827334fd8a4d912bc902157
arm64: compat: use compat_uptr_t type for compat_ucontext.uc_link

commit c0e01d5d8f15c085236df184e5bc3d79a8b700cd upstream.

struct compat_ucontext * is a 64-bit pointer, so we need to use a
compat_uptr_t instead to avoid declaring a structure incompatible with
what AArch32 userspace expects.

Reported-by: Edmund Grimley-Evans <Edmund.Grimley-Evans@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/kernel/signal32.c