diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-11-16 10:04:49 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-11-16 10:04:49 +0000 |
commit | 848b63ee310ba438b3223232b590a6b7f341e2ab (patch) | |
tree | 32eb6b76f9cf9d9aff420ce56f07cad2d8717142 /sys | |
parent | aa90c5d4ef2112066d4c6cb49fc29fbf36891670 (diff) |
Opps.. remove stuff that shouldn't be in the last commit.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/sparc/mem.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/sparc/sparc/mem.c b/sys/arch/sparc/sparc/mem.c index 5909a72595d..0da42036100 100644 --- a/sys/arch/sparc/sparc/mem.c +++ b/sys/arch/sparc/sparc/mem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mem.c,v 1.8 1999/11/16 10:03:16 art Exp $ */ +/* $OpenBSD: mem.c,v 1.9 1999/11/16 10:04:48 art Exp $ */ /* $NetBSD: mem.c,v 1.13 1996/03/30 21:12:16 christos Exp $ */ /* @@ -135,12 +135,10 @@ mmrw(dev, uio, flags) /* minor device 0 is physical memory */ case 0: pa = uio->uio_offset; -#if 0 if (!pmap_pa_exists(pa)) { error = EFAULT; goto unlock; } -#endif pmap_enter(pmap_kernel(), (vaddr_t)vmmap, trunc_page(pa), uio->uio_rw == UIO_READ ? VM_PROT_READ : VM_PROT_WRITE, TRUE, 0); @@ -220,9 +218,7 @@ mmrw(dev, uio, flags) uio->uio_resid -= c; } if (minor(dev) == 0) { -#if 0 unlock: -#endif if (physlock > 1) wakeup((caddr_t)&physlock); physlock = 0; |