Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81593?usp=email )
Change subject: soc/samsung: Move 'inline' between storage class and type ......................................................................
soc/samsung: Move 'inline' between storage class and type
Change-Id: Iccdb4770890751b7f9d1b35248fe57993342fd50 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M src/soc/samsung/exynos5420/smp.c 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/81593/1
diff --git a/src/soc/samsung/exynos5420/smp.c b/src/soc/samsung/exynos5420/smp.c index 13e9489..92c5175 100644 --- a/src/soc/samsung/exynos5420/smp.c +++ b/src/soc/samsung/exynos5420/smp.c @@ -64,14 +64,14 @@ * switching), we are not sure if the destination is Thumb or ARM mode. * So a BX command is required. */ -inline static void jump_bx(void *address) +static inline void jump_bx(void *address) { asm volatile ("bx %0" : : "r"(address)); /* never returns. */ }
/* Extracts arbitrary bits from a 32-bit unsigned int. */ -inline static uint32_t get_bits(uint32_t value, uint32_t start, uint32_t len) +static inline uint32_t get_bits(uint32_t value, uint32_t start, uint32_t len) { return ((value << (sizeof(value) * 8 - len - start)) >> (sizeof(value) * 8 - len));