]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 11 Feb 2013 12:39:16 +0000 (12:39 +0000)
commitc0e01d5d8f15c085236df184e5bc3d79a8b700cd
tree92efd5f16d6462a96e3f46e591b7e170cd7f17a8
parentb6f3598140608012bbc034c9a9ba55b0e8ea0755
arm64: compat: use compat_uptr_t type for compat_ucontext.uc_link

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.

Cc: <stable@vger.kernel.org>
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>
arch/arm64/kernel/signal32.c