[RFC,12/23] aarch64: Make cpu-features definitions not Linux-specific

Message ID 20240103171502.1358371-13-bugaevc@gmail.com
State Committed
Commit 520b1df08de68a3de328b65a25b86300a7ddf512
Headers
Series aarch64-gnu port |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
linaro-tcwg-bot/tcwg_glibc_build--master-arm fail Patch failed to apply

Commit Message

Sergey Bugaev Jan. 3, 2024, 5:14 p.m. UTC
  These describe generic AArch64 CPU features, and are not tied to a
kernel-specific way of determining them. We can share them between
the Linux and Hurd AArch64 ports.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
---
 sysdeps/{unix/sysv/linux => }/aarch64/cpu-features.h | 0
 sysdeps/{unix/sysv/linux => }/aarch64/libc-start.c   | 0
 2 files changed, 0 insertions(+), 0 deletions(-)
 rename sysdeps/{unix/sysv/linux => }/aarch64/cpu-features.h (100%)
 rename sysdeps/{unix/sysv/linux => }/aarch64/libc-start.c (100%)
  

Comments

Samuel Thibault Jan. 4, 2024, 10:48 p.m. UTC | #1
Applied, thanks!

Sergey Bugaev, le mer. 03 janv. 2024 20:14:45 +0300, a ecrit:
> These describe generic AArch64 CPU features, and are not tied to a
> kernel-specific way of determining them. We can share them between
> the Linux and Hurd AArch64 ports.
> 
> Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
> ---
>  sysdeps/{unix/sysv/linux => }/aarch64/cpu-features.h | 0
>  sysdeps/{unix/sysv/linux => }/aarch64/libc-start.c   | 0
>  2 files changed, 0 insertions(+), 0 deletions(-)
>  rename sysdeps/{unix/sysv/linux => }/aarch64/cpu-features.h (100%)
>  rename sysdeps/{unix/sysv/linux => }/aarch64/libc-start.c (100%)
> 
> diff --git a/sysdeps/unix/sysv/linux/aarch64/cpu-features.h b/sysdeps/aarch64/cpu-features.h
> similarity index 100%
> rename from sysdeps/unix/sysv/linux/aarch64/cpu-features.h
> rename to sysdeps/aarch64/cpu-features.h
> diff --git a/sysdeps/unix/sysv/linux/aarch64/libc-start.c b/sysdeps/aarch64/libc-start.c
> similarity index 100%
> rename from sysdeps/unix/sysv/linux/aarch64/libc-start.c
> rename to sysdeps/aarch64/libc-start.c
> -- 
> 2.43.0
> 
>
  

Patch

diff --git a/sysdeps/unix/sysv/linux/aarch64/cpu-features.h b/sysdeps/aarch64/cpu-features.h
similarity index 100%
rename from sysdeps/unix/sysv/linux/aarch64/cpu-features.h
rename to sysdeps/aarch64/cpu-features.h
diff --git a/sysdeps/unix/sysv/linux/aarch64/libc-start.c b/sysdeps/aarch64/libc-start.c
similarity index 100%
rename from sysdeps/unix/sysv/linux/aarch64/libc-start.c
rename to sysdeps/aarch64/libc-start.c