[PATCH liburing v4 07/10] lib: Enable nolibc support for aarch64

Ammar Faizi
2022-07-04T19:32:45Z

A previous patch adds get_page_size() function which is the missing bit
for aarch64 nolibc support. Now we have a full set of functions to
enable nolibc build support for aarch64.

Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
---
src/lib.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/src/lib.h b/src/lib.h
index a966c77..f347191 100644
--- a/src/lib.h
+++ b/src/lib.h
@@ -8,6 +8,8 @@

#if defined(__x86_64__) || defined(__i386__)
#include "arch/x86/lib.h"
+#elif defined(__aarch64__)
+#include "arch/aarch64/lib.h"
#else
/*
* We don't have nolibc support for this arch. Must use libc!
--
Ammar Faizi