hexagon: uapi: Fix structure alignment attribute

__aligned() is a kernel macro, which is not available in UAPI headers.

Use the compiler-provided alignment attribute directly.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Tested-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/20260227-kbuild-uapi-libc-v1-1-c17de0d19776@weissschuh.net
Signed-off-by: Nicolas Schier <nsc@kernel.org>
This commit is contained in:
Thomas Weißschuh
2026-02-27 07:37:59 +01:00
committed by Nicolas Schier
parent 7239ae5331
commit 47bca1cbf6

View File

@@ -29,6 +29,6 @@
*/
struct sigcontext {
struct user_regs_struct sc_regs;
} __aligned(8);
} __attribute__((aligned(8)));
#endif