aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/ptrace.c
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2008-07-25 10:19:27 +0530
committerJaswinder Singh <jaswinder@infradead.org>2008-07-25 11:56:15 +0530
commit4fe702c7e401f912c0edd294af6e37c02f451bbb (patch)
treefb2bce0b2e50b94e5a9ba5b018c9dc6fbec81243 /arch/x86/kernel/ptrace.c
parentx86_64: Declare new_utsname in asm-x86/syscalls.h (diff)
downloadlinux-dev-4fe702c7e401f912c0edd294af6e37c02f451bbb.tar.xz
linux-dev-4fe702c7e401f912c0edd294af6e37c02f451bbb.zip
X86_32: declare pt_regs_access as unsigned long
Fixed pt_regs_access to unsigned long as per X86_64 Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Diffstat (limited to 'arch/x86/kernel/ptrace.c')
-rw-r--r--arch/x86/kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c
index e37dccce85db..fc3e8dcd9da6 100644
--- a/arch/x86/kernel/ptrace.c
+++ b/arch/x86/kernel/ptrace.c
@@ -69,7 +69,7 @@ static inline bool invalid_selector(u16 value)
#define FLAG_MASK FLAG_MASK_32
-static long *pt_regs_access(struct pt_regs *regs, unsigned long regno)
+static unsigned long *pt_regs_access(struct pt_regs *regs, unsigned long regno)
{
BUILD_BUG_ON(offsetof(struct pt_regs, bx) != 0);
regno >>= 2;