diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-03-14 15:15:38 +0300 |
|---|---|---|
| committer | Max Filippov <jcmvbkbc@gmail.com> | 2026-03-14 16:56:20 +0300 |
| commit | aa5903b47d4bc0e7d1fb76941731cbda32ef9cbc (patch) | |
| tree | e7b6a4765f9a73f1eaa5b79359439ccc6d98bdff | |
| parent | 89355b05356d055fc5a7bc0fdffd44cb4a53f477 (diff) | |
| download | linux-aa5903b47d4bc0e7d1fb76941731cbda32ef9cbc.tar.xz | |
xtensa: uapi: Reuse asm-generic ucontext.h
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>
| -rw-r--r-- | arch/xtensa/include/asm/ucontext.h | 22 | ||||
| -rw-r--r-- | arch/xtensa/include/uapi/asm/Kbuild | 1 |
2 files changed, 1 insertions, 22 deletions
diff --git a/arch/xtensa/include/asm/ucontext.h b/arch/xtensa/include/asm/ucontext.h deleted file mode 100644 index 94c94ed3e00a..000000000000 --- a/arch/xtensa/include/asm/ucontext.h +++ /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 */ diff --git a/arch/xtensa/include/uapi/asm/Kbuild b/arch/xtensa/include/uapi/asm/Kbuild index b97c552db3c5..da95c5a0301f 100644 --- a/arch/xtensa/include/uapi/asm/Kbuild +++ b/arch/xtensa/include/uapi/asm/Kbuild @@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0 generated-y += unistd_32.h +generic-y += ucontext.h |
