mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
include/hw/core: Remove i386 conditional on fake_user_interrupt
Always include fake_user_interrupt in user-only build, despite only being used for i386. This will enable cpu-exec.c to be compiled only once. Signed-off-by: Anton Johansson <[email protected]> Message-ID: <[email protected]> [rth: Split out of a larger patch; remove TARGET_I386 conditional.] Signed-off-by: Richard Henderson <[email protected]>
This commit is contained in:
1 parent
b11cdf2748
commit
fd3f7d24d4
1 file changed
+2
-3
@@ -50,7 +50,7 @@ struct TCGCPUOps {
|
||||
void (*debug_excp_handler)(CPUState *cpu);
|
||||
|
||||
#ifdef NEED_CPU_H
|
||||
#if defined(CONFIG_USER_ONLY) && defined(TARGET_I386)
|
||||
#ifdef CONFIG_USER_ONLY
|
||||
/**
|
||||
* @fake_user_interrupt: Callback for 'fake exception' handling.
|
||||
*
|
||||
@@ -58,8 +58,7 @@ struct TCGCPUOps {
|
||||
* cpu execution loop (hack for x86 user mode).
|
||||
*/
|
||||
void (*fake_user_interrupt)(CPUState *cpu);
|
||||
#endif /* !CONFIG_USER_ONLY || !TARGET_I386 */
|
||||
#ifdef CONFIG_USER_ONLY
|
||||
|
||||
/**
|
||||
* record_sigsegv:
|
||||
* @cpu: cpu context
|
||||
|
||||
Reference in new issue
Block a user