diff options
| author | maminjie <maminjie2@huawei.com> | 2021-12-20 19:36:32 +0800 |
|---|---|---|
| committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-12-21 09:50:25 -0300 |
| commit | 8ad6d6d8ed33631bd2ca5d1112e6da2f92731432 (patch) | |
| tree | 86d983d2ccc19bb9c59d6aaa7bbb2042fb541f52 /scripts/cpp | |
| parent | 1d9764aba8c00754fbf8299e48afbe222245ee3e (diff) | |
| download | glibc-8ad6d6d8ed33631bd2ca5d1112e6da2f92731432.tar.xz glibc-8ad6d6d8ed33631bd2ca5d1112e6da2f92731432.zip | |
Linux: Fix 32-bit vDSO for clock_gettime on powerpc32
When the clock_id is CLOCK_PROCESS_CPUTIME_ID or CLOCK_THREAD_CPUTIME_ID,
on the 5.10 kernel powerpc 32-bit, the 32-bit vDSO is executed successfully (
because the __kernel_clock_gettime in arch/powerpc/kernel/vdso32/gettimeofday.S
does not support these two IDs, the 32-bit time_t syscall will be used),
but tp32.tv_sec is equal to 0, causing the 64-bit time_t syscall to continue to be used,
resulting in two system calls.
Fix commit 72e84d1db22203e01a43268de71ea8669eca2863.
Signed-off-by: maminjie <maminjie2@huawei.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit e0fc721ce600038dd390e77cfe52440707ef574d)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions
