[2/3] LoongArch: Fix VDSO_HASH and VDSO_NAME.

Message ID 20220728073009.2588790-3-caiyinyu@loongson.cn
State Committed
Commit 033e76ea9c39def3473bbfb31438a59168f3f3d7
Headers
Series GLIBC LOONGARCH PATCHES |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent

Commit Message

caiyinyu July 28, 2022, 7:30 a.m. UTC
  ---
 sysdeps/unix/sysv/linux/loongarch/sysdep.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Adhemerval Zanella Netto July 28, 2022, 12:57 p.m. UTC | #1
On 28/07/22 04:30, caiyinyu wrote:
> ---
>  sysdeps/unix/sysv/linux/loongarch/sysdep.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sysdeps/unix/sysv/linux/loongarch/sysdep.h b/sysdeps/unix/sysv/linux/loongarch/sysdep.h
> index 306e0af3a3..8a398adb70 100644
> --- a/sysdeps/unix/sysv/linux/loongarch/sysdep.h
> +++ b/sysdeps/unix/sysv/linux/loongarch/sysdep.h
> @@ -110,8 +110,8 @@
>  
>  #ifndef __ASSEMBLER__
>  
> -#define VDSO_NAME "LINUX_2.6"
> -#define VDSO_HASH 61765110
> +#define VDSO_NAME "LINUX_5.10"
> +#define VDSO_HASH 182947696
>  
>  /* List of system calls which are supported as vsyscalls.  */
>  #define HAVE_CLOCK_GETRES64_VSYSCALL "__vdso_clock_getres"

LGTM and it is ok for 2.36, thanks.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
  

Patch

diff --git a/sysdeps/unix/sysv/linux/loongarch/sysdep.h b/sysdeps/unix/sysv/linux/loongarch/sysdep.h
index 306e0af3a3..8a398adb70 100644
--- a/sysdeps/unix/sysv/linux/loongarch/sysdep.h
+++ b/sysdeps/unix/sysv/linux/loongarch/sysdep.h
@@ -110,8 +110,8 @@ 
 
 #ifndef __ASSEMBLER__
 
-#define VDSO_NAME "LINUX_2.6"
-#define VDSO_HASH 61765110
+#define VDSO_NAME "LINUX_5.10"
+#define VDSO_HASH 182947696
 
 /* List of system calls which are supported as vsyscalls.  */
 #define HAVE_CLOCK_GETRES64_VSYSCALL "__vdso_clock_getres"