diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-10-06 10:18:26 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-06 12:06:53 -0400 |
commit | 0962f402af1bb0b53ccee626785d202a10c12fff (patch) | |
tree | 26fa57193f16e45c6e0557049d02164f129077ed /arch/x86/kernel/ptrace.c | |
parent | 19268ed7449c561694d048a34601a30e2d1aaf79 (diff) | |
parent | 8d7ccaa545490cdffdfaff0842436a8dd85cf47b (diff) |
Merge branch 'x86/prototypes' into x86-v28-for-linus-phase1
Conflicts:
arch/x86/kernel/process_32.c
Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 5df6093ac776..d00e756c05af 100644 --- a/arch/x86/kernel/ptrace.c +++ b/arch/x86/kernel/ptrace.c | |||
@@ -69,7 +69,7 @@ static inline bool invalid_selector(u16 value) | |||
69 | 69 | ||
70 | #define FLAG_MASK FLAG_MASK_32 | 70 | #define FLAG_MASK FLAG_MASK_32 |
71 | 71 | ||
72 | static long *pt_regs_access(struct pt_regs *regs, unsigned long regno) | 72 | static unsigned long *pt_regs_access(struct pt_regs *regs, unsigned long regno) |
73 | { | 73 | { |
74 | BUILD_BUG_ON(offsetof(struct pt_regs, bx) != 0); | 74 | BUILD_BUG_ON(offsetof(struct pt_regs, bx) != 0); |
75 | regno >>= 2; | 75 | regno >>= 2; |