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>
Showing
- arch/x86/kernel/process_32.c 18 additions, 17 deletionsarch/x86/kernel/process_32.c
- arch/x86/kernel/ptrace_64.c 2 additions, 2 deletionsarch/x86/kernel/ptrace_64.c
- include/asm-x86/user_32.h 17 additions, 7 deletionsinclude/asm-x86/user_32.h
- include/asm-x86/user_64.h 31 additions, 10 deletionsinclude/asm-x86/user_64.h
Loading
Please register or sign in to comment