[PATCH liburing v1 5/9] arch/arm64: Rename aarch64 directory to arm64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux