diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-09-08 10:37:05 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-09-19 09:09:22 +0200 |
commit | a660e9dc47c522fe1a1b7f6e4af1795dbd6c20b1 (patch) | |
tree | 390cdbf3680f7549dc30fa78747f733c6010cb1e /bsps/x86_64/amd64/start/page.c | |
parent | validation: Test deadlock detection special case (diff) | |
download | rtems-a660e9dc47c522fe1a1b7f6e4af1795dbd6c20b1.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | bsps/x86_64/amd64/start/page.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |