PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
authorAnton Blanchard <anton@samba.org>
Tue, 15 Jan 2013 18:50:46 +0000 (12:50 -0600)
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>
Fri, 18 Jan 2013 13:44:38 +0000 (07:44 -0600)
commit471a1672d4d55124de4db8273829f96cc14d424a
treea2f709ff6e0f6f44b9eb17547dd456f7d5e587c5
parentf7bff1ed9608816c3936f2107aa0831d90c70358
PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.

In order for the __kernel_get_tbfreq vDSO call to work the
INTERNAL_VSYSCALL_NCS macro needed to be updated to prevent it from
assuming an integer return type (since the timebase frequency is a 64-bit
value) by specifying the type of the return type as a macro parameter.  The
macro then specifically declares the return value as a 'register' (or
implied pair) of the denoted type.  The compiler is then informed that this
register (or implied pair) is to be used for the return value.
ChangeLog
sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
sysdeps/unix/sysv/linux/powerpc/init-first.c
sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h