projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
461d159
)
X86_32: declare pt_regs_access as unsigned long
author
Jaswinder Singh
<jaswinder@infradead.org>
Fri, 25 Jul 2008 04:49:27 +0000
(10:19 +0530)
committer
Jaswinder 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
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/ptrace.c
b/arch/x86/kernel/ptrace.c
index
e37dccc
..
fc3e8dc
100644
(file)
--- 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;