From 9d6333c839fe5a4932b3cb47d824f81295302e2c Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sat, 30 Mar 2024 09:59:56 +0100 Subject: soc/samsung: Move 'inline' between storage class and type Change-Id: Iccdb4770890751b7f9d1b35248fe57993342fd50 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/81593 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/soc/samsung/exynos5420/smp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/samsung') diff --git a/src/soc/samsung/exynos5420/smp.c b/src/soc/samsung/exynos5420/smp.c index 13e9489161..92c51756f7 100644 --- a/src/soc/samsung/exynos5420/smp.c +++ b/src/soc/samsung/exynos5420/smp.c @@ -64,14 +64,14 @@ volatile struct exynos5420_cpu_states * 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)); -- cgit v1.2.3