From 636aa20056f2b242c296c0c0f55bbd4d21332966 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 16 Aug 2009 09:06:54 +0000 Subject: Replace always_inline with inline We define inline as always_inline. Signed-off-by: Blue Swirl --- target-ppc/exec.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target-ppc/exec.h') 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; -- cgit v1.2.3