From 108b545137b03ec1d6a5765017d57f86056bf57c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 30 Jan 2008 13:30:41 +0100 Subject: x86 vDSO: harmonize asm-offsets This change harmonizes the asm-offsets macros used in the 32-bit vDSO across 32-bit and 64-bit builds. It's a purely cosmetic change for now, but it paves the way for consolidating the 32-bit vDSO builds. Signed-off-by: Roland McGrath Cc: Andrew Morton Cc: Linus Torvalds Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- arch/x86/kernel/asm-offsets_32.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'arch/x86/kernel/asm-offsets_32.c') diff --git a/arch/x86/kernel/asm-offsets_32.c b/arch/x86/kernel/asm-offsets_32.c index c1ccfabb4a9..4f750ec810f 100644 --- a/arch/x86/kernel/asm-offsets_32.c +++ b/arch/x86/kernel/asm-offsets_32.c @@ -38,15 +38,15 @@ void foo(void); void foo(void) { - OFFSET(SIGCONTEXT_eax, sigcontext, eax); - OFFSET(SIGCONTEXT_ebx, sigcontext, ebx); - OFFSET(SIGCONTEXT_ecx, sigcontext, ecx); - OFFSET(SIGCONTEXT_edx, sigcontext, edx); - OFFSET(SIGCONTEXT_esi, sigcontext, esi); - OFFSET(SIGCONTEXT_edi, sigcontext, edi); - OFFSET(SIGCONTEXT_ebp, sigcontext, ebp); - OFFSET(SIGCONTEXT_esp, sigcontext, esp); - OFFSET(SIGCONTEXT_eip, sigcontext, eip); + OFFSET(IA32_SIGCONTEXT_eax, sigcontext, eax); + OFFSET(IA32_SIGCONTEXT_ebx, sigcontext, ebx); + OFFSET(IA32_SIGCONTEXT_ecx, sigcontext, ecx); + OFFSET(IA32_SIGCONTEXT_edx, sigcontext, edx); + OFFSET(IA32_SIGCONTEXT_esi, sigcontext, esi); + OFFSET(IA32_SIGCONTEXT_edi, sigcontext, edi); + OFFSET(IA32_SIGCONTEXT_ebp, sigcontext, ebp); + OFFSET(IA32_SIGCONTEXT_esp, sigcontext, esp); + OFFSET(IA32_SIGCONTEXT_eip, sigcontext, eip); BLANK(); OFFSET(CPUINFO_x86, cpuinfo_x86, x86); @@ -94,7 +94,7 @@ void foo(void) BLANK(); OFFSET(EXEC_DOMAIN_handler, exec_domain, handler); - OFFSET(RT_SIGFRAME_sigcontext, rt_sigframe, uc.uc_mcontext); + OFFSET(IA32_RT_SIGFRAME_sigcontext, rt_sigframe, uc.uc_mcontext); BLANK(); OFFSET(pbe_address, pbe, address); -- cgit v1.2.3