ARM: 5866/1: arm ptrace: use unsigned types for kernel pt_regs
authorJamie Iles <jamie.iles@picochip.com>
Wed, 6 Jan 2010 09:50:08 +0000 (10:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 8 Jan 2010 16:14:21 +0000 (16:14 +0000)
commit092a4e957a835cbf6b2ec82a6a4d6ff06c0a362e
treec22d005f4268be3553029ae258a68d910e62c28e
parent8784895ede9a39cfecf76fe26b090a602877f70f
ARM: 5866/1: arm ptrace: use unsigned types for kernel pt_regs

Make registers unsigned for kernel space. This is important for
example in the perf events where the PC is stored into a u64. We
don't want it sign extended so make the regs unsigned to prevent
casts throughout the kernel.

Signed-off-by: Jamie Iles <jamie.iles@picochip.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/ptrace.h