]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
mm: numa,memblock: Use SZ_1M macro to denote bytes to MB conversion
authorPratyush Brahma <pratyush.brahma@oss.qualcomm.com>
Wed, 20 Aug 2025 00:59:34 +0000 (06:29 +0530)
committerMike Rapoport (Microsoft) <rppt@kernel.org>
Wed, 20 Aug 2025 13:31:23 +0000 (16:31 +0300)
commit4647c4deadcc17f40858be06bcf416369a8f1d57
tree8df107a321775720ddd14b1b74dd60a0b233649b
parentd045c3154080a04beb07726fa311b89d21608981
mm: numa,memblock: Use SZ_1M macro to denote bytes to MB conversion

Replace the manual bitwise conversion of bytes to MB with
SZ_1M macro, a standard macro used within the mm subsystem,
to improve readability.

Signed-off-by: Pratyush Brahma <pratyush.brahma@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250820-numa-memblks-refac-v2-1-43bf1af02acd@oss.qualcomm.com
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
mm/memblock.c
mm/numa_emulation.c
mm/numa_memblks.c