x86, vdso: Make vsyscall_gtod_data handling x86 generic
authorStefani Seibold <stefani@seibold.net>
Mon, 17 Mar 2014 22:22:01 +0000 (23:22 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 18 Mar 2014 19:51:52 +0000 (12:51 -0700)
commitd2312e3379d581d2c3603357a0181046448e1de3
treeab547fa84f977650479eb13dc038bca85acba402
parent1f2cbcf648962cdcf511d234cb39745baa9f5d07
x86, vdso: Make vsyscall_gtod_data handling x86 generic

This patch move the vsyscall_gtod_data handling out of vsyscall_64.c
into an additonal file vsyscall_gtod.c to make the functionality
available for x86 32 bit kernel.

It also adds a new vsyscall_32.c which setup the VVAR page.

Reviewed-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Stefani Seibold <stefani@seibold.net>
Link: http://lkml.kernel.org/r/1395094933-14252-2-git-send-email-stefani@seibold.net
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/Kconfig
arch/x86/include/asm/clocksource.h
arch/x86/include/asm/vvar.h
arch/x86/kernel/Makefile
arch/x86/kernel/hpet.c
arch/x86/kernel/tsc.c
arch/x86/kernel/vmlinux.lds.S
arch/x86/kernel/vsyscall_64.c
arch/x86/kernel/vsyscall_gtod.c [new file with mode: 0644]
arch/x86/tools/relocs.c