mirror of
https://github.com/drasko/codezero.git
synced 2026-01-15 20:33:16 +01:00
Dynamic generation of pager size
This commit is contained in:
@@ -142,8 +142,8 @@ int init_pager(struct pager *pager,
|
||||
cap->resid = CAP_RESID_NONE;
|
||||
}
|
||||
|
||||
printk("%s: Mapping %lu pages from 0x%lx to 0x%lx for %s\n",
|
||||
__KERNELNAME__,
|
||||
printk("%s: Mapping %lx bytes (%lx pages) from 0x%lx to 0x%lx for %s\n",
|
||||
__KERNELNAME__, pager->memsize,
|
||||
__pfn(page_align_up(pager->memsize)),
|
||||
pager->start_lma, pager->start_vma, cont->name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user