diff options
author | Ian Moffett <ian@osmora.org> | 2025-06-19 00:53:35 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-06-19 00:53:35 -0400 |
commit | 1a3e39cd28f90754c3927dabe32a37836db3f8d5 (patch) | |
tree | 1d4096e4533a754bf9120fc33c1932779822b61b | |
parent | a17ea6f35d661747db14889341c84a4d6f84a266 (diff) |
kernel: Add __aligned(n) attribute
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sys/include/sys/cdefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/sys/cdefs.h b/sys/include/sys/cdefs.h index 711ce4a..725193e 100644 --- a/sys/include/sys/cdefs.h +++ b/sys/include/sys/cdefs.h @@ -42,6 +42,7 @@ #define __dead __attribute__((__noreturn__)) #define __cold __attribute__((__cold__)) #define __dead_cold __attribute__((__noreturn__, __cold__)) +#define __aligned(n) __attribute__((__aligned__((n)))) #define __unused __attribute__((__unused__)) #define __used __attribute__((__used__)) #define __nothing ((void)0) |