projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86/pebs' into x86/unify-cpu-detect
[linux-2.6-block.git]
/
arch
/
x86
/
kernel
/
ptrace.c
diff --git
a/arch/x86/kernel/ptrace.c
b/arch/x86/kernel/ptrace.c
index ba19bb49bd097584239853ecdd220fd6c9d5e3aa..58ce4b50211b49330ca4391b27f243eea18cd56e 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;