summaryrefslogtreecommitdiff
path: root/target-mips/exec.h
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-23 16:16:31 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-23 16:16:31 +0000
commitc904ef0e7ca708462d2b0b10127dae5eb4a555f5 (patch)
treebf3e811dedb201eb1e9e1c779e38784ca0dbd904 /target-mips/exec.h
parent0eaef5aa01a8e27b57a46217a0b65cc1d30a5d41 (diff)
downloadqemu-c904ef0e7ca708462d2b0b10127dae5eb4a555f5.tar.gz
qemu-c904ef0e7ca708462d2b0b10127dae5eb4a555f5.tar.bz2
qemu-c904ef0e7ca708462d2b0b10127dae5eb4a555f5.zip
Use plain standard inline.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4929 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/exec.h')
-rw-r--r--target-mips/exec.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/target-mips/exec.h b/target-mips/exec.h
index 8600e79c55..fcad70af69 100644
--- a/target-mips/exec.h
+++ b/target-mips/exec.h
@@ -47,15 +47,15 @@ void cpu_mips_update_irq (CPUState *env);
void cpu_mips_clock_init (CPUState *env);
void cpu_mips_tlb_flush (CPUState *env, int flush_global);
-static always_inline void env_to_regs(void)
+static inline void env_to_regs(void)
{
}
-static always_inline void regs_to_env(void)
+static inline void regs_to_env(void)
{
}
-static always_inline int cpu_halted(CPUState *env)
+static inline int cpu_halted(CPUState *env)
{
if (!env->halted)
return 0;
@@ -67,7 +67,7 @@ static always_inline int cpu_halted(CPUState *env)
return EXCP_HALTED;
}
-static always_inline void compute_hflags(CPUState *env)
+static inline void compute_hflags(CPUState *env)
{
env->hflags &= ~(MIPS_HFLAG_COP1X | MIPS_HFLAG_64 | MIPS_HFLAG_CP0 |
MIPS_HFLAG_F64 | MIPS_HFLAG_FPU | MIPS_HFLAG_KSU);