Use the correct address when calling kva_free()
Pointy hat to: cognet Spotted out by: alc
This commit is contained in:
parent
e32c2d4742
commit
477f81c83e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254172
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user