[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 14/16] linux-user: Move thunk.c from top-level
From: |
Richard Henderson |
Subject: |
[PATCH v6 14/16] linux-user: Move thunk.c from top-level |
Date: |
Tue, 23 Nov 2021 18:37:57 +0100 |
So far, linux-user is the only user of these functions.
Clean up the build machinery by restricting it to linux-user.
Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
meson.build | 1 -
thunk.c => linux-user/thunk.c | 0
MAINTAINERS | 1 -
linux-user/meson.build | 1 +
4 files changed, 1 insertion(+), 2 deletions(-)
rename thunk.c => linux-user/thunk.c (100%)
diff --git a/meson.build b/meson.build
index d5ac65b877..cd97b154bd 100644
--- a/meson.build
+++ b/meson.build
@@ -2621,7 +2621,6 @@ subdir('linux-user')
specific_ss.add_all(when: 'CONFIG_BSD_USER', if_true: bsd_user_ss)
-linux_user_ss.add(files('thunk.c'))
specific_ss.add_all(when: 'CONFIG_LINUX_USER', if_true: linux_user_ss)
common_user_ss = common_user_ss.apply(config_all, strict: false)
diff --git a/thunk.c b/linux-user/thunk.c
similarity index 100%
rename from thunk.c
rename to linux-user/thunk.c
diff --git a/MAINTAINERS b/MAINTAINERS
index e3a12857f9..d3c045ff86 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3076,7 +3076,6 @@ Usermode Emulation
Overall usermode emulation
M: Riku Voipio <riku.voipio@iki.fi>
S: Maintained
-F: thunk.c
F: accel/tcg/user-exec*.c
F: include/user/
F: common-user/
diff --git a/linux-user/meson.build b/linux-user/meson.build
index bf9d945504..fcf7d40f23 100644
--- a/linux-user/meson.build
+++ b/linux-user/meson.build
@@ -15,6 +15,7 @@ linux_user_ss.add(files(
'signal.c',
'strace.c',
'syscall.c',
+ 'thunk.c',
'uaccess.c',
'uname.c',
))
--
2.25.1
- [PATCH v6 03/16] linux-user: Move syscall error detection into safe_syscall_base, (continued)
- [PATCH v6 03/16] linux-user: Move syscall error detection into safe_syscall_base, Richard Henderson, 2021/11/23
- [PATCH v6 04/16] linux-user/host/mips: Add safe-syscall.inc.S, Richard Henderson, 2021/11/23
- [PATCH v6 05/16] linux-user/host/sparc64: Add safe-syscall.inc.S, Richard Henderson, 2021/11/23
- [PATCH v6 06/16] linux-user: Remove HAVE_SAFE_SYSCALL and hostdep.h, Richard Henderson, 2021/11/23
- [PATCH v6 07/16] linux-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS, Richard Henderson, 2021/11/23
- [PATCH v6 08/16] bsd-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS, Richard Henderson, 2021/11/23
- [PATCH v6 09/16] linux-user: Rename TARGET_QEMU_ESIGRETURN to QEMU_ESIGRETURN, Richard Henderson, 2021/11/23
- [PATCH v6 10/16] linux-user: Create special-errno.h, Richard Henderson, 2021/11/23
- [PATCH v6 11/16] bsd-user: Create special-errno.h, Richard Henderson, 2021/11/23
- [PATCH v6 12/16] common-user: Move safe-syscall.* from linux-user, Richard Henderson, 2021/11/23
- [PATCH v6 14/16] linux-user: Move thunk.c from top-level,
Richard Henderson <=
- [PATCH v6 13/16] common-user: Adjust system call return on FreeBSD, Richard Henderson, 2021/11/23
- [PATCH v6 15/16] meson: Move linux_user_ss to linux-user/, Richard Henderson, 2021/11/23
- [PATCH v6 16/16] meson: Move bsd_user_ss to bsd-user/, Richard Henderson, 2021/11/23