diff options
author | Petr Mladek <pmladek@suse.com> | 2024-05-15 11:58:26 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2024-05-15 11:58:26 +0200 |
commit | dafc2d0f1bb9bb865a8420f77de56bafd8881cc5 (patch) | |
tree | d342568bc9498c5f4949ece6ce3e2c91dde08335 /include/linux/xarray.h | |
parent | e0550222e03bae3fd629641e246ef7f47803d795 (diff) | |
parent | 27021649ec88cf9aa14d2ac7e7f2e6789f055978 (diff) |
Merge branch 'for-6.10-base-small' into for-linus
Diffstat (limited to 'include/linux/xarray.h')
-rw-r--r-- | include/linux/xarray.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/xarray.h b/include/linux/xarray.h index cb571dfcf4b1..3f81ee5f9fb9 100644 --- a/include/linux/xarray.h +++ b/include/linux/xarray.h @@ -1141,7 +1141,7 @@ static inline void xa_release(struct xarray *xa, unsigned long index) * doubled the number of slots per node, we'd get only 3 nodes per 4kB page. */ #ifndef XA_CHUNK_SHIFT -#define XA_CHUNK_SHIFT (CONFIG_BASE_SMALL ? 4 : 6) +#define XA_CHUNK_SHIFT (IS_ENABLED(CONFIG_BASE_SMALL) ? 4 : 6) #endif #define XA_CHUNK_SIZE (1UL << XA_CHUNK_SHIFT) #define XA_CHUNK_MASK (XA_CHUNK_SIZE - 1) |