x86 vDSO: ia32 sysenter_return
This changes the 64-bit kernel's support for the 32-bit sysenter instruction to use stored fields rather than constants for the user-mode return address, as the 32-bit kernel does. This adds a sysenter_return field to struct thread_info, as 32-bit has. There is no observable effect from this yet. It makes the assembly code independent of the 32-bit vDSO mapping address, paving the way for making the vDSO address vary as it does on the 32-bit kernel. [ akpm@linux-foundation.org: build fix on !CONFIG_IA32_EMULATION ] Signed-off-by:Roland McGrath <roland@redhat.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Signed-off-by:
Ingo Molnar <mingo@elte.hu> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
Showing
- arch/x86/ia32/ia32entry.S 3 additions, 4 deletionsarch/x86/ia32/ia32entry.S
- arch/x86/ia32/syscall32.c 4 additions, 0 deletionsarch/x86/ia32/syscall32.c
- arch/x86/kernel/asm-offsets_64.c 3 additions, 0 deletionsarch/x86/kernel/asm-offsets_64.c
- include/asm-x86/thread_info_64.h 3 additions, 0 deletionsinclude/asm-x86/thread_info_64.h
Loading
Please register or sign in to comment