From 5247c783dc11eba298b3a6c03470125a67bf8cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= Date: Sat, 14 Mar 2026 13:16:28 +0100 Subject: [PATCH] m68k: uapi: Add ucontext.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- arch/m68k/include/{ => uapi}/asm/ucontext.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename arch/m68k/include/{ => uapi}/asm/ucontext.h (82%) 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 1523a8e5ff22..ffac691604b4 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];