summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2026-03-14 15:16:28 +0300
committerGeert Uytterhoeven <geert@linux-m68k.org>2026-03-30 14:47:32 +0300
commit5247c783dc11eba298b3a6c03470125a67bf8cda (patch)
tree41c87c0d02da2e241427fd39b663b0b8f35a7e3c
parent1ba5f6fb44e9c7094a4ae4b4f79a4cc4d7ba188f (diff)
downloadlinux-5247c783dc11eba298b3a6c03470125a67bf8cda.tar.xz
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 <linux@weissschuh.net> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://patch.msgid.link/20260314-uapi-ucontext-m68k-v1-1-1b8b0e082b79@weissschuh.net Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
-rw-r--r--arch/m68k/include/uapi/asm/ucontext.h (renamed from arch/m68k/include/asm/ucontext.h)5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/ucontext.h b/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 <asm/sigcontext.h>
+#include <asm/signal.h>
+
typedef int greg_t;
#define NGREG 18
typedef greg_t gregset_t[NGREG];