summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2026-02-27 09:37:59 +0300
committerNicolas Schier <nsc@kernel.org>2026-03-12 14:48:07 +0300
commit47bca1cbf692b89defbf4db27495813f82d5e3ff (patch)
tree39adec644e86a85039842b410f034efc728ad287
parent7239ae5331ae077c2621740a5db89e65611182cd (diff)
downloadlinux-47bca1cbf692b89defbf4db27495813f82d5e3ff.tar.xz
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>
-rw-r--r--arch/hexagon/include/uapi/asm/sigcontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/hexagon/include/uapi/asm/sigcontext.h b/arch/hexagon/include/uapi/asm/sigcontext.h
index 7171edb1b8b7..179a97041b59 100644
--- a/arch/hexagon/include/uapi/asm/sigcontext.h
+++ b/arch/hexagon/include/uapi/asm/sigcontext.h
@@ -29,6 +29,6 @@
*/
struct sigcontext {
struct user_regs_struct sc_regs;
-} __aligned(8);
+} __attribute__((aligned(8)));
#endif