]> git.ipfire.org Git - thirdparty/glibc.git/commit
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>
Thu, 25 Jul 2013 16:56:14 +0000 (11:56 -0500)
commitdafbd378a285b44acd8015025227326497cd99d9
treebcabf262e8d026d6f037877668d676a48341f3fa
parentd8f90bcfad22ae63108ab3b3446fc6b6a4ea6fee
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