summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/nexus.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2000-01-18 12:24:44 +0000
committeralfred <alfred@FreeBSD.org>2000-01-18 12:24:44 +0000
commit70964425685d52e9bf42cf1d711e7a1854e4950f (patch)
treea5019159bf0fd04c37fc8242028609cec7afb959 /sys/amd64/amd64/nexus.c
parent17c111ba77900f6b8d3ba6215144d97c0f59379a (diff)
downloadFreeBSD-src-70964425685d52e9bf42cf1d711e7a1854e4950f.zip
FreeBSD-src-70964425685d52e9bf42cf1d711e7a1854e4950f.tar.gz
unbreak (rv -> r), afaik what Mike intended, boots fine on my machine
Diffstat (limited to 'sys/amd64/amd64/nexus.c')
-rw-r--r--sys/amd64/amd64/nexus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/nexus.c b/sys/amd64/amd64/nexus.c
index 568085b..f6e81dd 100644
--- a/sys/amd64/amd64/nexus.c
+++ b/sys/amd64/amd64/nexus.c
@@ -338,7 +338,7 @@ nexus_deactivate_resource(device_t bus, device_t child, int type, int rid,
/*
* If this is a memory resource, unmap it.
*/
- if ((rman_get_bustag(r) == I386_BUS_SPACE_MEM) && (rv->r_end >= 1024 * 1024)) {
+ if ((rman_get_bustag(r) == I386_BUS_SPACE_MEM) && (r->r_end >= 1024 * 1024)) {
u_int32_t psize;
psize = r->r_end - r->r_start;
OpenPOWER on IntegriCloud