summaryrefslogtreecommitdiff
path: root/tools/include/linux
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2026-08-14 10:16:13 +0000
committerWill Deacon <will@kernel.org>2026-08-14 10:16:13 +0000
commit26b77009ee74f6122a067a4f9926ff6e09fffb94 (patch)
tree3f8bd1ac6b78eda2193f84d21bf47d2ab477eb23 /tools/include/linux
parentff505648cb732329b03cb33ccba58263eb7874b2 (diff)
parentd4bf9e08d412289ae7c9072378bed238c0274c55 (diff)
Merge branch 'for-next/uapi' into for-next/core
* for-next/uapi: arm64: uapi: Use __u128 instead of __uint128_t in UAPI headers tools: linux/types.h: Add 128-bit integer types for arm64 UAPI structures
Diffstat (limited to 'tools/include/linux')
-rw-r--r--tools/include/linux/types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/include/linux/types.h b/tools/include/linux/types.h
index d41f8a261bce..b6c473b7920d 100644
--- a/tools/include/linux/types.h
+++ b/tools/include/linux/types.h
@@ -23,6 +23,11 @@ typedef enum {
__GFP_HIGH
} gfp_t;
+#ifdef __SIZEOF_INT128__
+typedef __signed__ __int128 __s128 __attribute__((aligned(16)));
+typedef unsigned __int128 __u128 __attribute__((aligned(16)));
+#endif
+
/*
* We define u64 as uint64_t for every architecture
* so that we can print it with "%"PRIx64 without getting warnings.