OSDN Git Service

mm/mm_init: use helper macro BITS_PER_LONG and BITS_PER_BYTE
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 7 Aug 2023 02:35:28 +0000 (10:35 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 20:37:47 +0000 (13:37 -0700)
commitdaee07bfba3340b07edcf9ae92044398e8a964db
treecba163608914ff34823dde6f5a91d1010cfbc80d
parent6379693e3c2683a7c86f395e878534731ac7ed06
mm/mm_init: use helper macro BITS_PER_LONG and BITS_PER_BYTE

It's more readable to use helper macro BITS_PER_LONG and BITS_PER_BYTE.
No functional change intended.

Link: https://lkml.kernel.org/r/20230807023528.325191-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mm_init.c