Merge "OWNERS: add more owners manually"
diff --git a/lib/tst_kernel.c b/lib/tst_kernel.c
index 71303fc..fd648b1 100644
--- a/lib/tst_kernel.c
+++ b/lib/tst_kernel.c
@@ -31,6 +31,13 @@
kernel_bits = strstr(buf.machine, "64") ? 64 : 32;
+ /*
+ * ARM64 (aarch64) defines 32-bit compatibility modes as
+ * armv8l and armv8b (little and big endian).
+ */
+ if (!strcmp(buf.machine, "armv8l") || !strcmp(buf.machine, "armv8b"))
+ kernel_bits = 64;
+
tst_resm(TINFO, "uname.machine=%s kernel is %ibit",
buf.machine, kernel_bits);