diff options
| author | Philippe Mathieu-Daudé | 2021-09-11 18:54:34 +0200 |
|---|---|---|
| committer | Richard Henderson | 2021-09-14 21:00:21 +0200 |
| commit | 76d0042bb2a7601e7a343fd2ff02902658f8a97a (patch) | |
| tree | 1991227f434fe047068731452a5b83992e66355d /linux-user | |
| parent | accel/tcg: Restrict TCGCPUOps::cpu_exec_interrupt() to sysemu (diff) | |
| download | qemu-76d0042bb2a7601e7a343fd2ff02902658f8a97a.tar.gz qemu-76d0042bb2a7601e7a343fd2ff02902658f8a97a.tar.xz qemu-76d0042bb2a7601e7a343fd2ff02902658f8a97a.zip | |
user: Remove cpu_get_pic_interrupt() stubs
cpu_get_pic_interrupt() is now unreachable from user-mode,
delete the unnecessary stubs.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210911165434.531552-25-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user')
| -rw-r--r-- | linux-user/main.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index a6094563b6..45bde4598d 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -120,13 +120,6 @@ const char *qemu_uname_release; by remapping the process stack directly at the right place */ unsigned long guest_stack_size = 8 * 1024 * 1024UL; -#if defined(TARGET_I386) -int cpu_get_pic_interrupt(CPUX86State *env) -{ - return -1; -} -#endif - /***********************************************************/ /* Helper routines for implementing atomic operations. */ |
