From: Jaswinder Singh Date: Fri, 25 Jul 2008 04:49:27 +0000 (+0530) Subject: X86_32: declare pt_regs_access as unsigned long X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=4fe702c7e401f912c0edd294af6e37c02f451bbb;p=deliverable%2Flinux.git 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 --- 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;