diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-01-30 07:31:02 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:02 -0500 |
commit | faca62273b602ab482fb7d3d940dbf41ef08b00e (patch) | |
tree | 913fb1c565a2b719b00ae4b745c38cc9b0ebf279 /include/asm-x86/system_64.h | |
parent | 25149b62d3e6a3e737af39bd4a0b4e97de0811b7 (diff) |
x86: use generic register name in the thread and tss structures
This changes size-specific register names (eip/rip, esp/rsp, etc.) to
generic names in the thread and tss structures.
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/system_64.h')
-rw-r--r-- | include/asm-x86/system_64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/system_64.h b/include/asm-x86/system_64.h index 6e9e4841a2da..3dcb217a7202 100644 --- a/include/asm-x86/system_64.h +++ b/include/asm-x86/system_64.h | |||
@@ -40,7 +40,7 @@ | |||
40 | RESTORE_CONTEXT \ | 40 | RESTORE_CONTEXT \ |
41 | : "=a" (last) \ | 41 | : "=a" (last) \ |
42 | : [next] "S" (next), [prev] "D" (prev), \ | 42 | : [next] "S" (next), [prev] "D" (prev), \ |
43 | [threadrsp] "i" (offsetof(struct task_struct, thread.rsp)), \ | 43 | [threadrsp] "i" (offsetof(struct task_struct, thread.sp)), \ |
44 | [ti_flags] "i" (offsetof(struct thread_info, flags)),\ | 44 | [ti_flags] "i" (offsetof(struct thread_info, flags)),\ |
45 | [tif_fork] "i" (TIF_FORK), \ | 45 | [tif_fork] "i" (TIF_FORK), \ |
46 | [thread_info] "i" (offsetof(struct task_struct, stack)), \ | 46 | [thread_info] "i" (offsetof(struct task_struct, stack)), \ |