Use the correct address when calling kva_free()

Pointy hat to:	cognet
Spotted out by:	alc
This commit is contained in:
Olivier Houchard 2013-08-10 00:53:22 +00:00
parent e32c2d4742
commit 477f81c83e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254172

View File

@ -214,7 +214,7 @@ s3c2xx0_bs_unmap(void *t, bus_space_handle_t h, bus_size_t size)
pmap_kremove(va);
va += PAGE_SIZE;
}
kva_free(va, endva - origva);
kva_free(origva, endva - origva);
}
int