]> git.baikalelectronics.ru Git - kernel.git/commit
x86-64: Add time to vDSO
authorAndy Lutomirski <luto@MIT.EDU>
Mon, 23 May 2011 13:31:30 +0000 (09:31 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 24 May 2011 12:51:29 +0000 (14:51 +0200)
commit181ce5e2c80012661962dfbb7be675d5cd72b826
tree80001b7e1c1fd3b4877febd416d3d0c949edd6c3
parent2ca9fd5f7df31671c46dc37adfaa5e1cadff3217
x86-64: Add time to vDSO

The only fast implementation of time(2) we expose is through the
vsyscall page and we want to get userspace to stop using the
vsyscall page.  So make it available through the vDSO as well.

This is essentially a cut-n-paste job.

Signed-off-by: Andy Lutomirski <luto@mit.edu>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Borislav Petkov <bp@amd64.org>
Link: http://lkml.kernel.org/r/%3Cbf963bac5207de4b29613f27c42705e4371812a8.1306156808.git.luto%40mit.edu%3E
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/vdso/vclock_gettime.c
arch/x86/vdso/vdso.lds.S