diff options
author | 2001-07-31 13:30:17 +0000 | |
---|---|---|
committer | 2001-07-31 13:30:17 +0000 | |
commit | 1f684fb1844a5cfbafad1ea3e367f0cc4f226f36 (patch) | |
tree | d4de0d9e6da15649fc797270d1571ee3616af630 | |
parent | close smartcard connection if card is missing. (diff) | |
download | wireguard-openbsd-1f684fb1844a5cfbafad1ea3e367f0cc4f226f36.tar.xz wireguard-openbsd-1f684fb1844a5cfbafad1ea3e367f0cc4f226f36.zip |
pmap_steal_memory takes to vaddr_t * as arguments, not paddr_t *.
For some strange (ehmm) reason, only the prototype was wrong. The implementations
were right.
-rw-r--r-- | sys/vm/pmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/pmap.h b/sys/vm/pmap.h index 8b26c78a3db..86412ddd24a 100644 --- a/sys/vm/pmap.h +++ b/sys/vm/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.20 2001/07/25 13:25:33 art Exp $ */ +/* $OpenBSD: pmap.h,v 1.21 2001/07/31 13:30:17 art Exp $ */ /* $NetBSD: pmap.h,v 1.36 1999/11/13 00:24:39 thorpej Exp $ */ /* @@ -145,7 +145,7 @@ void pmap_update __P((void)); void pmap_zero_page __P((paddr_t)); #if defined(PMAP_STEAL_MEMORY) -vaddr_t pmap_steal_memory __P((vsize_t, paddr_t *, paddr_t *)); +vaddr_t pmap_steal_memory __P((vsize_t, vaddr_t *, vaddr_t *)); #else void pmap_virtual_space __P((vaddr_t *, vaddr_t *)); #endif |