]> git.baikalelectronics.ru Git - kernel.git/commit
x86: unify pt_regs accessors ptrace.h
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 30 Jan 2008 12:33:16 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:16 +0000 (13:33 +0100)
commitdfcfac3977ad69ad81688131b0eda18bc961aacb
tree72f5ba536cc5791ff3ec2ed6473e5ab8a8bb59a5
parentd485158c96838bb35ca9976de16dba5904aa8001
x86: unify pt_regs accessors ptrace.h

Unify the definiton of:
v8086_mode
user_mode
user_mode_vm
stack_pointer
instruction_pointer
frame_pointer

in ptrace.h to make it clear where the differences are between
32 and 64 bit.  Changes macros to static inlines as well.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/ptrace.h