aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/asm-offsets_64.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-01-30 07:30:56 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:30:56 -0500
commit742fa54a62be6a263df14a553bf832724471dfbe (patch)
tree991589593b078eb2ede035f511e4b85b11b95a9c /arch/x86/kernel/asm-offsets_64.c
parent153d5f2e5787c74e9cbb6b6687c9b04be1b59893 (diff)
x86: use generic register names in struct sigcontext
Switch struct sigcontext (defined in <asm/sigcontext*.h>) to using register names withut e- or r-prefixes for both 32- and 64-bit x86. This is intended as a preliminary step in unifying this code between architectures. 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>
Diffstat (limited to 'arch/x86/kernel/asm-offsets_64.c')
-rw-r--r--arch/x86/kernel/asm-offsets_64.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/x86/kernel/asm-offsets_64.c b/arch/x86/kernel/asm-offsets_64.c
index 2e918ebf21d3..a05428764314 100644
--- a/arch/x86/kernel/asm-offsets_64.c
+++ b/arch/x86/kernel/asm-offsets_64.c
@@ -63,15 +63,15 @@ int main(void)
63#undef ENTRY 63#undef ENTRY
64#ifdef CONFIG_IA32_EMULATION 64#ifdef CONFIG_IA32_EMULATION
65#define ENTRY(entry) DEFINE(IA32_SIGCONTEXT_ ## entry, offsetof(struct sigcontext_ia32, entry)) 65#define ENTRY(entry) DEFINE(IA32_SIGCONTEXT_ ## entry, offsetof(struct sigcontext_ia32, entry))
66 ENTRY(eax); 66 ENTRY(ax);
67 ENTRY(ebx); 67 ENTRY(bx);
68 ENTRY(ecx); 68 ENTRY(cx);
69 ENTRY(edx); 69 ENTRY(dx);
70 ENTRY(esi); 70 ENTRY(si);
71 ENTRY(edi); 71 ENTRY(di);
72 ENTRY(ebp); 72 ENTRY(bp);
73 ENTRY(esp); 73 ENTRY(sp);
74 ENTRY(eip); 74 ENTRY(ip);
75 BLANK(); 75 BLANK();
76#undef ENTRY 76#undef ENTRY
77 DEFINE(IA32_RT_SIGFRAME_sigcontext, 77 DEFINE(IA32_RT_SIGFRAME_sigcontext,