From: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx> In the Linux kernel tree, we use `arm64` instead of `aarch64` to name the directory that saves this arch specific code. Follow this naming in liburing too. Signed-off-by: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx> --- src/arch/{aarch64 => arm64}/syscall.h | 6 +++--- src/syscall.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/arch/{aarch64 => arm64}/syscall.h (95%) diff --git a/src/arch/aarch64/syscall.h b/src/arch/arm64/syscall.h similarity index 95% rename from src/arch/aarch64/syscall.h rename to src/arch/arm64/syscall.h index 5e26714..732ada0 100644 --- a/src/arch/aarch64/syscall.h +++ b/src/arch/arm64/syscall.h @@ -4,8 +4,8 @@ #error "This file should be included from src/syscall.h (liburing)" #endif -#ifndef LIBURING_ARCH_AARCH64_SYSCALL_H -#define LIBURING_ARCH_AARCH64_SYSCALL_H +#ifndef LIBURING_ARCH_ARM64_SYSCALL_H +#define LIBURING_ARCH_ARM64_SYSCALL_H #if defined(__aarch64__) @@ -96,4 +96,4 @@ #endif /* #if defined(__aarch64__) */ -#endif /* #ifndef LIBURING_ARCH_AARCH64_SYSCALL_H */ +#endif /* #ifndef LIBURING_ARCH_ARM64_SYSCALL_H */ diff --git a/src/syscall.h b/src/syscall.h index 214789d..9e72e6f 100644 --- a/src/syscall.h +++ b/src/syscall.h @@ -74,7 +74,7 @@ static inline bool IS_ERR(const void *ptr) #if defined(__x86_64__) || defined(__i386__) #include "arch/x86/syscall.h" #elif defined(__aarch64__) -#include "arch/aarch64/syscall.h" +#include "arch/arm64/syscall.h" #else /* * We don't have native syscall wrappers -- Ammar Faizi