diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2011-04-04 12:25:24 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2011-04-04 12:25:24 +0000 |
commit | b0d4b5d13abed165255bbbc41de8e216fbcd5a2d (patch) | |
tree | 02db558c9e9bf7ab02540aac9b303eb637582590 /sys/uvm | |
parent | fed4c7bb951bded0efb38e873b7fc1d69c477ee9 (diff) |
Better.
Diffstat (limited to 'sys/uvm')
-rw-r--r-- | sys/uvm/uvm_km.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/uvm/uvm_km.c b/sys/uvm/uvm_km.c index bfaed38cdcc..1d629e699e9 100644 --- a/sys/uvm/uvm_km.c +++ b/sys/uvm/uvm_km.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_km.c,v 1.89 2011/04/04 12:22:59 art Exp $ */ +/* $OpenBSD: uvm_km.c,v 1.90 2011/04/04 12:25:23 art Exp $ */ /* $NetBSD: uvm_km.c,v 1.42 2001/01/14 02:10:01 thorpej Exp $ */ /* @@ -936,7 +936,9 @@ km_alloc(size_t sz, struct kmem_va_mode *kv, struct kmem_pa_mode *kp, int mapflags = 0; vm_prot_t prot; int pla_flags; - paddr_t pa = 0; +#ifdef __HAVE_PMAP_DIRECT + paddr_t pa; +#endif vaddr_t va, sva; KASSERT(sz == round_page(sz)); |