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/helper_regs.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/helper_regs.h')
-rw-r--r-- | target-ppc/helper_regs.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target-ppc/helper_regs.h b/target-ppc/helper_regs.h index 2a1f541d11..3c988502ed 100644 --- a/target-ppc/helper_regs.h +++ b/target-ppc/helper_regs.h @@ -21,7 +21,7 @@ #define __HELPER_REGS_H__ /* Swap temporary saved registers with GPRs */ -static always_inline void hreg_swap_gpr_tgpr (CPUPPCState *env) +static inline void hreg_swap_gpr_tgpr(CPUPPCState *env) { target_ulong tmp; @@ -39,7 +39,7 @@ static always_inline void hreg_swap_gpr_tgpr (CPUPPCState *env) env->tgpr[3] = tmp; } -static always_inline void hreg_compute_mem_idx (CPUPPCState *env) +static inline void hreg_compute_mem_idx(CPUPPCState *env) { /* Precompute MMU index */ if (msr_pr == 0 && msr_hv != 0) { @@ -49,7 +49,7 @@ static always_inline void hreg_compute_mem_idx (CPUPPCState *env) } } -static always_inline void hreg_compute_hflags (CPUPPCState *env) +static inline void hreg_compute_hflags(CPUPPCState *env) { target_ulong hflags_mask; @@ -64,8 +64,8 @@ static always_inline void hreg_compute_hflags (CPUPPCState *env) env->hflags |= env->hflags_nmsr; } -static always_inline int hreg_store_msr (CPUPPCState *env, target_ulong value, - int alter_hv) +static inline int hreg_store_msr(CPUPPCState *env, target_ulong value, + int alter_hv) { int excp; |