File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
features/storage/filesystem/littlefs/littlefs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ static inline uint32_t lfs_min(uint32_t a, uint32_t b) {
116
116
// Find the next smallest power of 2 less than or equal to a
117
117
static inline uint32_t lfs_npw2 (uint32_t a ) {
118
118
#if !defined(LFS_NO_INTRINSICS ) && MBED_LFS_INTRINSICS && \
119
- ( defined(__GNUC__ ) || defined( __CC_ARM ) )
119
+ defined(__GNUC__ )
120
120
return 32 - __builtin_clz (a - 1 );
121
121
#else
122
122
uint32_t r = 0 ;
@@ -144,7 +144,7 @@ static inline uint32_t lfs_ctz(uint32_t a) {
144
144
// Count the number of binary ones in a
145
145
static inline uint32_t lfs_popc (uint32_t a ) {
146
146
#if !defined(LFS_NO_INTRINSICS ) && MBED_LFS_INTRINSICS && \
147
- ( defined(__GNUC__ ) || defined( __CC_ARM ) )
147
+ defined(__GNUC__ )
148
148
return __builtin_popcount (a );
149
149
#else
150
150
a = a - ((a >> 1 ) & 0x55555555 );
You can’t perform that action at this time.
0 commit comments