x86: use generic register names in struct user_regs_struct
authorH. Peter Anvin <hpa@zytor.com>
Wed, 30 Jan 2008 12:30:56 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:56 +0000 (13:30 +0100)
commit153d5f2e5787c74e9cbb6b6687c9b04be1b59893
treecacde0a0ce46bb797a6b4b8e6817ceef996ebc5e
parent65ea5b0349903585bfed9720fa06f5edb4f1cd25
x86: use generic register names in struct user_regs_struct

Switch struct user_regs_struct (defined in <asm/user.h>, which is no
longer exported to userspace) to using register names without e- or
r-prefixes for both 32 and 64 bit x86.  This is intended as a
preliminary step in unifying this code between architectures.

Also, be a bit more strict in truncating 32-bit "extended" segment
register values to 16 bits.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/process_32.c
arch/x86/kernel/ptrace_64.c
include/asm-x86/user_32.h
include/asm-x86/user_64.h