From: Thomas Weißschuh Date: Sat, 14 Mar 2026 12:16:28 +0000 (+0100) Subject: m68k: uapi: Add ucontext.h X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5247c783dc11eba298b3a6c03470125a67bf8cda;p=thirdparty%2Fkernel%2Flinux.git m68k: uapi: Add ucontext.h ucontext.h should be an UAPI header as it is used for the kernel's signal handling interface. Move the header to the uapi/ directory. While at it, also add some necessary includes to the new header. Signed-off-by: Thomas Weißschuh Reviewed-by: Geert Uytterhoeven Link: https://patch.msgid.link/20260314-uapi-ucontext-m68k-v1-1-1b8b0e082b79@weissschuh.net Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/m68k/include/asm/ucontext.h b/arch/m68k/include/uapi/asm/ucontext.h similarity index 82% rename from arch/m68k/include/asm/ucontext.h rename to arch/m68k/include/uapi/asm/ucontext.h index 1523a8e5ff224..ffac691604b42 100644 --- a/arch/m68k/include/asm/ucontext.h +++ b/arch/m68k/include/uapi/asm/ucontext.h @@ -1,7 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _M68K_UCONTEXT_H #define _M68K_UCONTEXT_H +#include +#include + typedef int greg_t; #define NGREG 18 typedef greg_t gregset_t[NGREG];