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-ppc/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-ppc/exec.h')
-rw-r--r-- | target-ppc/exec.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target-ppc/exec.h b/target-ppc/exec.h index 0481eb235c..ef1e44bda4 100644 --- a/target-ppc/exec.h +++ b/target-ppc/exec.h @@ -35,21 +35,21 @@ register struct CPUPPCState *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 (msr_ee && (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; |