hexagon: uapi: Fix structure alignment attribute
PATCH 1/1 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 <[email protected]>
--- arch/hexagon/include/uapi/asm/sigcontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/hexagon/include/uapi/asm/sigcontext.h +1 -1
@@ -29,6 +29,6 @@*/ struct sigcontext {struct user_regs_struct sc_regs; -}__aligned(8) ; +} __attribute__((aligned (8 )));#endif
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251222-uapi-hexagon-ff69e380328d
Best regards,
Signature · 1 line
Thomas Weißschuh <[email protected]>
Quoted 5 lines · Thomas Weißschuh
__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 <[email protected]>
Acked-by Arnd Bergmann <[email protected]>