diff options
| -rw-r--r-- | drivers/misc/mediatek/mlog/mlog_logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mediatek/mlog/mlog_logger.c b/drivers/misc/mediatek/mlog/mlog_logger.c index 40596c762..af0a87e31 100644 --- a/drivers/misc/mediatek/mlog/mlog_logger.c +++ b/drivers/misc/mediatek/mlog/mlog_logger.c @@ -364,7 +364,7 @@ static void mlog_meminfo(void) mlock = P2K(global_page_state(NR_MLOCK)); #if defined(CONFIG_ZRAM) & defined(CONFIG_ZSMALLOC) - zram = (zram_devices && zram_devices->init_done && zram_devices->meta) ? + zram = (zram_devices && zram_devices->meta) ? B2K(zs_get_total_size_bytes(zram_devices->meta->mem_pool)) : 0; #else zram = 0; |
