diff options
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; |