summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/log2table.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/log2table.c')
-rw-r--r--cpukit/score/src/log2table.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/score/src/log2table.c b/cpukit/score/src/log2table.c
index f81f82154e..19a9c8a446 100644
--- a/cpukit/score/src/log2table.c
+++ b/cpukit/score/src/log2table.c
@@ -21,8 +21,7 @@
#include <rtems/score/prioritybitmapimpl.h>
-#if ( CPU_USE_GENERIC_BITFIELD_DATA == TRUE )
-const unsigned char __log2table[256] = {
+const unsigned char _Bitfield_Leading_zeros[256] = {
7, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
@@ -40,4 +39,3 @@ const unsigned char __log2table[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
};
-#endif