]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
sparc: uapi: Add ucontext.h
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 14 Mar 2026 12:17:49 +0000 (13:17 +0100)
committerAndreas Larsson <andreas@gaisler.com>
Fri, 12 Jun 2026 11:50:01 +0000 (13:50 +0200)
On SPARC the standard ucontext.h UAPI header is named 'uctx.h'.

Add an alias for the standard name.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
arch/sparc/include/uapi/asm/ucontext.h [new file with mode: 0644]

diff --git a/arch/sparc/include/uapi/asm/ucontext.h b/arch/sparc/include/uapi/asm/ucontext.h
new file mode 100644 (file)
index 0000000..e9b5dbb
--- /dev/null
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+
+#include <asm/uctx.h>