]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
xtensa: uapi: Reuse asm-generic ucontext.h
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 14 Mar 2026 12:15:38 +0000 (13:15 +0100)
committerMax Filippov <jcmvbkbc@gmail.com>
Sat, 14 Mar 2026 13:56:20 +0000 (06:56 -0700)
Drop the custom non-uapi definition which is the same as the generic
uapi one.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Message-ID: <20260314-uapi-ucontext-xtensa-v1-1-08dceca7e6a2@weissschuh.net>
[Max: Move new generic-y line to the arch/xtensa/include/uapi/asm/Kbuild]
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/ucontext.h [deleted file]
arch/xtensa/include/uapi/asm/Kbuild

diff --git a/arch/xtensa/include/asm/ucontext.h b/arch/xtensa/include/asm/ucontext.h
deleted file mode 100644 (file)
index 94c94ed..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * include/asm-xtensa/ucontext.h
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 2001 - 2005 Tensilica Inc.
- */
-
-#ifndef _XTENSA_UCONTEXT_H
-#define _XTENSA_UCONTEXT_H
-
-struct ucontext {
-       unsigned long     uc_flags;
-       struct ucontext  *uc_link;
-       stack_t           uc_stack;
-       struct sigcontext uc_mcontext;
-       sigset_t          uc_sigmask;   /* mask last for extensibility */
-};
-
-#endif /* _XTENSA_UCONTEXT_H */
index b97c552db3c5aca9d83fd3ff33f462389de41978..da95c5a0301f824470252a96be08175422c473ea 100644 (file)
@@ -1,2 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0
 generated-y += unistd_32.h
+generic-y += ucontext.h