mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
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>
This commit is contained in:
parent
1ba5f6fb44
commit
5247c783dc
|
|
@ -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];
|
||||
Loading…
Reference in New Issue
Block a user