diff options
author | Andy Lutomirski <luto@amacapital.net> | 2014-03-17 23:22:08 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2014-03-18 20:52:33 +0100 |
commit | b4b541a610c4db8643b36030ee5012203ca65778 (patch) | |
tree | 80019c3a48ec605144b5c88f147a46ff7869eb1a /arch/x86/include/asm/vdso.h | |
parent | x86, vdso: Introduce VVAR marco for vdso32 (diff) | |
download | linux-b4b541a610c4db8643b36030ee5012203ca65778.tar.xz linux-b4b541a610c4db8643b36030ee5012203ca65778.zip |
x86, vdso: Patch alternatives in the 32-bit VDSO
We need the alternatives mechanism for rdtsc_barrier() to work.
Signed-off-by: Stefani Seibold <stefani@seibold.net>
Link: http://lkml.kernel.org/r/1395094933-14252-9-git-send-email-stefani@seibold.net
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/vdso.h')
-rw-r--r-- | arch/x86/include/asm/vdso.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/vdso.h b/arch/x86/include/asm/vdso.h index 5594e84d65d9..f8605e61b0c5 100644 --- a/arch/x86/include/asm/vdso.h +++ b/arch/x86/include/asm/vdso.h @@ -28,4 +28,6 @@ extern const char vdso32_int80_start, vdso32_int80_end; extern const char vdso32_syscall_start, vdso32_syscall_end; extern const char vdso32_sysenter_start, vdso32_sysenter_end; +void __init patch_vdso32(void *vdso, size_t len); + #endif /* _ASM_X86_VDSO_H */ |