From a660e9dc47c522fe1a1b7f6e4af1795dbd6c20b1 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 8 Sep 2022 10:37:05 +0200 Subject: Do not use RTEMS_INLINE_ROUTINE Directly use "static inline" which is available in C99 and later. This brings the RTEMS implementation closer to standard C. Close #3935. --- bsps/x86_64/amd64/start/page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsps/x86_64/amd64/start/page.c') diff --git a/bsps/x86_64/amd64/start/page.c b/bsps/x86_64/amd64/start/page.c index 64bdf21707..c2e3949556 100644 --- a/bsps/x86_64/amd64/start/page.c +++ b/bsps/x86_64/amd64/start/page.c @@ -83,7 +83,7 @@ uint64_t get_mask_for_bits(uint8_t start, uint8_t end) return mask; } -RTEMS_INLINE_ROUTINE void assert_0s_from_bit(uint64_t entry, uint8_t bit_pos) +static inline void assert_0s_from_bit(uint64_t entry, uint8_t bit_pos) { /* Confirm that bit_pos:64 are all 0s */ assert((entry & get_mask_for_bits(bit_pos, 64)) == 0); -- cgit v1.2.3