Skip to content

Commit 5247c78

Browse files
t-8chgeertu
authored andcommitted
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>
1 parent 1ba5f6f commit 5247c78

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
/* SPDX-License-Identifier: GPL-2.0 */
1+
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
22
#ifndef _M68K_UCONTEXT_H
33
#define _M68K_UCONTEXT_H
44

5+
#include <asm/sigcontext.h>
6+
#include <asm/signal.h>
7+
58
typedef int greg_t;
69
#define NGREG 18
710
typedef greg_t gregset_t[NGREG];

0 commit comments

Comments
 (0)