PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
commit51a8476450158fb522c791c73b7b56dc30a741fc
authorAnton Blanchard <anton@samba.org>
Tue, 15 Jan 2013 18:50:46 +0000 (15 12:50 -0600)
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>
Thu, 25 Jul 2013 18:21:04 +0000 (25 13:21 -0500)
treebcabf262e8d026d6f037877668d676a48341f3fa
parent08a894d5084cfdf81d720a437492e099495ec277
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.
(cherry picked from commit 471a1672d4d55124de4db8273829f96cc14d424a)
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