diff options
author | Ryusuke Konishi <konishi.ryusuke@gmail.com> | 2024-08-27 02:41:10 +0900 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-01 20:43:42 -0700 |
commit | 21176c0ae4ac9ab5ca7e1b7e6c234dee2a0022f0 (patch) | |
tree | 0225b2ec7cf428730b5fc280d132d226e68176d8 /tools/perf/scripts/python/gecko.py | |
parent | 9abca1a71c0e5f78e7ce91af8ad03e8d9893dc54 (diff) |
nilfs2: use the BITS_PER_LONG macro
The macros NILFS_BMAP_KEY_BIT and NILFS_BMAP_NEW_PTR_INIT calculate,
within their definitions, the number of bits in an unsigned long variable.
Use the BITS_PER_LONG macro to make them simpler.
Link: https://lkml.kernel.org/r/20240826174116.5008-3-konishi.ryusuke@gmail.com
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Cc: Huang Xiaojia <huangxiaojia2@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions