mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
Replace always_inline with inline
We define inline as always_inline. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
facd285778
commit
636aa20056
13 changed files with 355 additions and 371 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue