diff options
Diffstat (limited to 'target-alpha/exec.h')
-rw-r--r-- | target-alpha/exec.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/target-alpha/exec.h b/target-alpha/exec.h index 35d6a16775..3533eb1719 100644 --- a/target-alpha/exec.h +++ b/target-alpha/exec.h @@ -39,20 +39,21 @@ register struct CPUAlphaState *env asm(AREG0); #include "softmmu_exec.h" #endif /* !defined(CONFIG_USER_ONLY) */ -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_has_work(CPUState *env) +static inline int cpu_has_work(CPUState *env) { return (env->interrupt_request & CPU_INTERRUPT_HARD); } -static always_inline int cpu_halted(CPUState *env) { +static inline int cpu_halted(CPUState *env) +{ if (!env->halted) return 0; if (cpu_has_work(env)) { |