Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Thomas Weißschuh and committed by
Geert Uytterhoeven
5247c783 1ba5f6fb

+4 -1
+4 -1
arch/m68k/include/asm/ucontext.h arch/m68k/include/uapi/asm/ucontext.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 1 + /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 2 #ifndef _M68K_UCONTEXT_H 3 3 #define _M68K_UCONTEXT_H 4 + 5 + #include <asm/sigcontext.h> 6 + #include <asm/signal.h> 4 7 5 8 typedef int greg_t; 6 9 #define NGREG 18