x86: rename the struct pt_regs members for 32/64-bit consistency
commit65ea5b0349903585bfed9720fa06f5edb4f1cd25
authorH. Peter Anvin <hpa@zytor.com>
Wed, 30 Jan 2008 12:30:56 +0000 (30 13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:56 +0000 (30 13:30 +0100)
tree6c252228c34416b7e2077f23475de34500c2ab8a
parent53756d3722172815f52272b28c6d5d5e9639adde
x86: rename the struct pt_regs members for 32/64-bit consistency

We have a lot of code which differs only by the naming of specific
members of structures that contain registers.  In order to enable
additional unifications, this patch drops the e- or r- size prefix
from the register names in struct pt_regs, and drops the x- prefixes
for segment registers on the 32-bit side.

This patch also performs the equivalent renames in some additional
places that might be candidates for unification in the future.

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>
54 files changed:
arch/x86/ia32/ia32_aout.c
arch/x86/ia32/ia32_binfmt.c
arch/x86/ia32/ia32_signal.c
arch/x86/ia32/ptrace32.c
arch/x86/ia32/sys_ia32.c
arch/x86/kernel/acpi/wakeup_64.S
arch/x86/kernel/asm-offsets_32.c
arch/x86/kernel/asm-offsets_64.c
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/mcheck/mce_64.c
arch/x86/kernel/i8259_32.c
arch/x86/kernel/io_apic_64.c
arch/x86/kernel/ioport_32.c
arch/x86/kernel/ioport_64.c
arch/x86/kernel/irq_32.c
arch/x86/kernel/irq_64.c
arch/x86/kernel/kprobes_32.c
arch/x86/kernel/kprobes_64.c
arch/x86/kernel/process_32.c
arch/x86/kernel/process_64.c
arch/x86/kernel/ptrace_32.c
arch/x86/kernel/ptrace_64.c
arch/x86/kernel/signal_32.c
arch/x86/kernel/signal_64.c
arch/x86/kernel/smp_64.c
arch/x86/kernel/smpboot_32.c
arch/x86/kernel/step.c
arch/x86/kernel/suspend_asm_64.S
arch/x86/kernel/time_32.c
arch/x86/kernel/time_64.c
arch/x86/kernel/traps_32.c
arch/x86/kernel/traps_64.c
arch/x86/kernel/vm86_32.c
arch/x86/kernel/vmi_32.c
arch/x86/kernel/vsyscall_64.c
arch/x86/lguest/boot.c
arch/x86/mach-voyager/voyager_smp.c
arch/x86/mm/extable_32.c
arch/x86/mm/fault_32.c
arch/x86/mm/fault_64.c
arch/x86/oprofile/backtrace.c
arch/x86/xen/enlighten.c
arch/x86/xen/events.c
include/asm-x86/compat.h
include/asm-x86/elf.h
include/asm-x86/kexec_32.h
include/asm-x86/kexec_64.h
include/asm-x86/kprobes_32.h
include/asm-x86/kprobes_64.h
include/asm-x86/mce.h
include/asm-x86/processor_32.h
include/asm-x86/processor_64.h
include/asm-x86/ptrace.h
kernel/signal.c