diff options
author | Stefan Liebler <stli@linux.vnet.ibm.com> | 2016-05-09 11:05:45 +0200 |
---|---|---|
committer | Stefan Liebler <stli@linux.vnet.ibm.com> | 2016-05-09 11:05:45 +0200 |
commit | b91a333ecb223a4bb104ff5a64c9ee5a194789a3 (patch) | |
tree | c69a7cbebf77b7c3736d6a30106f5c29a25aa871 /ChangeLog | |
parent | a9558b49b3336aba143b68279af90d69e2d92479 (diff) | |
download | glibc-b91a333ecb223a4bb104ff5a64c9ee5a194789a3.zip glibc-b91a333ecb223a4bb104ff5a64c9ee5a194789a3.tar.gz glibc-b91a333ecb223a4bb104ff5a64c9ee5a194789a3.tar.bz2 |
S390: Add support for vdso getcpu symbol.
This patch adds support for symbol __kernel_getcpu in vDSO,
which is available with kernel 4.5.
Now sched_getcpu is using this symbol if available in mapped vDSO
by defining macro HAVE_GETCPU_VSYSCALL. If not available at runtime,
the former syscall is used.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/s390/init-first.c: + Add VDSO_SYMBOL(getcpu). + (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu). + * sysdeps/unix/sysv/linux/s390/libc-vdso.h: + Add VDSO_SYMBOL(getcpu). + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: + New define HAVE_GETCPU_VSYSCALL. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + 2016-05-08 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c> |