Replace always_inline with inline

We define inline as always_inline.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2009-08-16 09:06:54 +00:00
parent facd285778
commit 636aa20056
13 changed files with 355 additions and 371 deletions

View file

@ -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)) {