ARM: set_range_middle(): fix PT deallocation bug
Change-Id: Ic8c1e1193ae33d1ae81e0df362ae1a6944c6c3b2
This commit is contained in:
committed by
Masamichi Takagi
parent
089b443aaf
commit
10f1fe76db
@@ -2847,7 +2847,7 @@ retry:
|
|||||||
error = 0;
|
error = 0;
|
||||||
out:
|
out:
|
||||||
if (tt_pa) {
|
if (tt_pa) {
|
||||||
ihk_mc_free_pages(tt_pa, 1);
|
ihk_mc_free_pages(phys_to_virt((unsigned long)tt_pa), 1);
|
||||||
}
|
}
|
||||||
dkprintf("set_range_middle(%lx,%lx,%lx,%d): %d %lx\n",
|
dkprintf("set_range_middle(%lx,%lx,%lx,%d): %d %lx\n",
|
||||||
base, start, end, level, error, *ptep);
|
base, start, end, level, error, *ptep);
|
||||||
|
|||||||
Reference in New Issue
Block a user