mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
mm/cma: show cma bitmap in hex format
Change-Id: I0f8b49202e3e173961f8f2697e0e3494a07afa1d Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
@@ -183,7 +183,7 @@ static void cma_debugfs_add_one(struct cma *cma, int idx)
|
||||
debugfs_create_file("maxchunk", 0444, tmp, cma, &cma_maxchunk_fops);
|
||||
|
||||
u32s = DIV_ROUND_UP(cma_bitmap_maxno(cma), BITS_PER_BYTE * sizeof(u32));
|
||||
debugfs_create_u32_array("bitmap", 0444, tmp, (u32 *)cma->bitmap, u32s);
|
||||
debugfs_create_u32_array_hex("bitmap", 0444, tmp, (u32 *)cma->bitmap, u32s);
|
||||
}
|
||||
|
||||
static int __init cma_debugfs_init(void)
|
||||
|
||||
Reference in New Issue
Block a user