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 /hw/ppc_prep.c | |
parent | facd2857783d58387885ad7cb1e4a8386f241738 (diff) | |
download | qemu-636aa20056f2b242c296c0c0f55bbd4d21332966.zip qemu-636aa20056f2b242c296c0c0f55bbd4d21332966.tar.gz qemu-636aa20056f2b242c296c0c0f55bbd4d21332966.tar.bz2 |
Replace always_inline with inline
We define inline as always_inline.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/ppc_prep.c')
-rw-r--r-- | hw/ppc_prep.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c index 97190a2..3dae458 100644 --- a/hw/ppc_prep.c +++ b/hw/ppc_prep.c @@ -115,7 +115,7 @@ static void _PPC_intack_write (void *opaque, // printf("%s: 0x" PADDRX " => 0x%08" PRIx32 "\n", __func__, addr, value); } -static always_inline uint32_t _PPC_intack_read (target_phys_addr_t addr) +static inline uint32_t _PPC_intack_read(target_phys_addr_t addr) { uint32_t retval = 0; @@ -426,9 +426,8 @@ static uint32_t PREP_io_800_readb (void *opaque, uint32_t addr) return retval; } -static always_inline target_phys_addr_t prep_IO_address (sysctrl_t *sysctrl, - target_phys_addr_t - addr) +static inline target_phys_addr_t prep_IO_address(sysctrl_t *sysctrl, + target_phys_addr_t addr) { if (sysctrl->contiguous_map == 0) { /* 64 KB contiguous space for IOs */ |