Commit bbabbe89 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

util: Use vma_entry_len helper

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent 35781a8c
......@@ -178,7 +178,7 @@ void printk_vma(struct vma_area *vma_area)
printk("s: %16lx e: %16lx l: %4liK p: %4x f: %8x pg: %8lx "
"fd: %4d pid: %4d dev:%02x:%02x:%08lx vf: %s st: %s spc: %s\n",
vma_area->vma.start, vma_area->vma.end,
(vma_area->vma.end - vma_area->vma.start) >> 10,
vma_entry_len(&vma_area->vma) >> 10,
vma_area->vma.prot,
vma_area->vma.flags,
vma_area->vma.pgoff,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment