summaryrefslogtreecommitdiff
path: root/target-i386/cc_helper.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2015-07-06 17:29:59 +0100
committerRichard Henderson <rth@twiddle.net>2016-02-13 07:59:59 +1100
commit7f0b7141b4c7deab51efd8ee1e83eab2d9b7a9ea (patch)
tree4829f9a06ec132c626a6f119288d1d39d83d5afd /target-i386/cc_helper.c
parentf4f1110e4b34797ddfa87bb28f9518b9256778be (diff)
downloadqemu-7f0b7141b4c7deab51efd8ee1e83eab2d9b7a9ea.tar.gz
target-i386: Perform set/reset_inhibit_irq inline
With helpers that can be reused for other things. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-i386/cc_helper.c')
-rw-r--r--target-i386/cc_helper.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/target-i386/cc_helper.c b/target-i386/cc_helper.c
index 99a3b5496b..83af223c9f 100644
--- a/target-i386/cc_helper.c
+++ b/target-i386/cc_helper.c
@@ -383,13 +383,3 @@ void helper_sti_vm(CPUX86State *env)
}
}
#endif
-
-void helper_set_inhibit_irq(CPUX86State *env)
-{
- env->hflags |= HF_INHIBIT_IRQ_MASK;
-}
-
-void helper_reset_inhibit_irq(CPUX86State *env)
-{
- env->hflags &= ~HF_INHIBIT_IRQ_MASK;
-}