Commit 9eb5a31b authored by Kazuhito Hagio's avatar Kazuhito Hagio
Browse files

[PATCH] Prepare paddr_to_vaddr() for arch-specific p2v conversion



Currently, conversion from physical address to virtual address in
--mem-usage option is "paddr + PAGE_OFFSET", which was written for
x86_64, but it's not suitable especially for arm64.

This patch introduces paddr_to_vaddr() macro to get prepared for
arch-specific physical to virtual conversion.

Tested-by: default avatarBhupesh Sharma <bhsharma@redhat.com>
Signed-off-by: default avatarKazuhito Hagio <k-hagio@ab.jp.nec.com>
parent d015e6df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment