ARM: set_range_middle(): fix PT deallocation bug

Change-Id: Ic8c1e1193ae33d1ae81e0df362ae1a6944c6c3b2
This commit is contained in:
Balazs Gerofi
2019-06-05 16:40:21 +09:00
committed by Masamichi Takagi
parent 089b443aaf
commit 10f1fe76db

View File

@ -2847,7 +2847,7 @@ retry:
error = 0;
out:
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",
base, start, end, level, error, *ptep);