diff options
author | Jaswinder Singh <jaswinder@infradead.org> | 2008-07-25 06:49:27 +0200 |
---|---|---|
committer | Jaswinder Singh <jaswinder@infradead.org> | 2008-07-25 08:26:15 +0200 |
commit | 4fe702c7e401f912c0edd294af6e37c02f451bbb (patch) | |
tree | fb2bce0b2e50b94e5a9ba5b018c9dc6fbec81243 /arch/x86/kernel/ptrace.c | |
parent | x86_64: Declare new_utsname in asm-x86/syscalls.h (diff) | |
download | linux-4fe702c7e401f912c0edd294af6e37c02f451bbb.tar.xz linux-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.c | 2 |
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; |