X86_32: declare pt_regs_access as unsigned long
authorJaswinder Singh <jaswinder@infradead.org>
Fri, 25 Jul 2008 04:49:27 +0000 (10:19 +0530)
committerJaswinder Singh <jaswinder@infradead.org>
Fri, 25 Jul 2008 06:26:15 +0000 (11:56 +0530)
Fixed pt_regs_access to unsigned long as per X86_64

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
arch/x86/kernel/ptrace.c

index e37dccce85db5e15922602b833a3821b78ca4ffd..fc3e8dcd9da637dceef8aac688529169d03f1004 100644 (file)
@@ -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;
This page took 0.028727 seconds and 5 git commands to generate.