On 18/07/25 8:11 am, Ye Liu wrote:
From: Ye Liu <li...@kylinos.cn>

Replace repeated (20 - PAGE_SHIFT) calculations with standard macros:
- MB_TO_PAGES(mb)    converts MB to page count
- PAGES_TO_MB(pages) converts pages to MB

No functional change.

Signed-off-by: Ye Liu <li...@kylinos.cn>
---

sh and x86 have their own pages_to_mb, drivers/target/target_core_user.c too.
I guess no one likes to clean the kernel :)


Reply via email to