diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-08-16 09:06:54 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-08-16 09:06:54 +0000 |
commit | 636aa20056f2b242c296c0c0f55bbd4d21332966 (patch) | |
tree | 92c2decbbd8379fd6e7901fa3728eed395a5137d /target-alpha/exec.h | |
parent | facd2857783d58387885ad7cb1e4a8386f241738 (diff) |
Replace always_inline with inline
We define inline as always_inline.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
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)) { |