diff options
author | cognet <cognet@FreeBSD.org> | 2013-08-10 00:53:22 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2013-08-10 00:53:22 +0000 |
commit | c5083d56109b0ac82adfb615c3b6dc0153d44e8e (patch) | |
tree | b933d147849e5d127e5852002c0c712856702e7c /sys/arm | |
parent | e5d07cf87956bafb941eedcd1e6d9c5517323319 (diff) | |
download | FreeBSD-src-c5083d56109b0ac82adfb615c3b6dc0153d44e8e.zip FreeBSD-src-c5083d56109b0ac82adfb615c3b6dc0153d44e8e.tar.gz |
Use the correct address when calling kva_free()
Pointy hat to: cognet
Spotted out by: alc
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/s3c2xx0/s3c2xx0_space.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/s3c2xx0/s3c2xx0_space.c b/sys/arm/s3c2xx0/s3c2xx0_space.c index 742d7f3..76e191e 100644 --- a/sys/arm/s3c2xx0/s3c2xx0_space.c +++ b/sys/arm/s3c2xx0/s3c2xx0_space.c @@ -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 |