mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02: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:
parent
12c78422e2
commit
6bb31db2cf
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user