diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-01-30 07:30:56 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:56 -0500 |
commit | 742fa54a62be6a263df14a553bf832724471dfbe (patch) | |
tree | 991589593b078eb2ede035f511e4b85b11b95a9c /include/asm-x86/sigcontext32.h | |
parent | 153d5f2e5787c74e9cbb6b6687c9b04be1b59893 (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 'include/asm-x86/sigcontext32.h')
-rw-r--r-- | include/asm-x86/sigcontext32.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/asm-x86/sigcontext32.h b/include/asm-x86/sigcontext32.h index 3d657038ab7c..6ffab4fd593a 100644 --- a/include/asm-x86/sigcontext32.h +++ b/include/asm-x86/sigcontext32.h | |||
@@ -48,20 +48,20 @@ struct sigcontext_ia32 { | |||
48 | unsigned short fs, __fsh; | 48 | unsigned short fs, __fsh; |
49 | unsigned short es, __esh; | 49 | unsigned short es, __esh; |
50 | unsigned short ds, __dsh; | 50 | unsigned short ds, __dsh; |
51 | unsigned int edi; | 51 | unsigned int di; |
52 | unsigned int esi; | 52 | unsigned int si; |
53 | unsigned int ebp; | 53 | unsigned int bp; |
54 | unsigned int esp; | 54 | unsigned int sp; |
55 | unsigned int ebx; | 55 | unsigned int bx; |
56 | unsigned int edx; | 56 | unsigned int dx; |
57 | unsigned int ecx; | 57 | unsigned int cx; |
58 | unsigned int eax; | 58 | unsigned int ax; |
59 | unsigned int trapno; | 59 | unsigned int trapno; |
60 | unsigned int err; | 60 | unsigned int err; |
61 | unsigned int eip; | 61 | unsigned int ip; |
62 | unsigned short cs, __csh; | 62 | unsigned short cs, __csh; |
63 | unsigned int eflags; | 63 | unsigned int flags; |
64 | unsigned int esp_at_signal; | 64 | unsigned int sp_at_signal; |
65 | unsigned short ss, __ssh; | 65 | unsigned short ss, __ssh; |
66 | unsigned int fpstate; /* really (struct _fpstate_ia32 *) */ | 66 | unsigned int fpstate; /* really (struct _fpstate_ia32 *) */ |
67 | unsigned int oldmask; | 67 | unsigned int oldmask; |