diff options
Diffstat (limited to 'sys/sparc64/sparc64/mem.c')
-rw-r--r-- | sys/sparc64/sparc64/mem.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/sparc64/sparc64/mem.c b/sys/sparc64/sparc64/mem.c index e7ab8e4..68c397e 100644 --- a/sys/sparc64/sparc64/mem.c +++ b/sys/sparc64/sparc64/mem.c @@ -69,9 +69,7 @@ __FBSDID("$FreeBSD$"); #include <vm/pmap.h> #include <vm/vm_extern.h> -#ifndef SUN4V #include <machine/cache.h> -#endif #include <machine/md_var.h> #include <machine/pmap.h> #include <machine/tlb.h> @@ -137,18 +135,14 @@ memrw(struct cdev *dev, struct uio *uio, int flags) if (m != NULL) { if (ova == 0) { -#ifndef SUN4V if (dcache_color_ignore == 0) colors = DCACHE_COLORS; -#endif ova = kmem_alloc_wait(kernel_map, PAGE_SIZE * colors); } -#ifndef SUN4V if (colors != 1 && m->md.color != -1) va = ova + m->md.color * PAGE_SIZE; else -#endif va = ova; pmap_qenter(va, &m, 1); error = uiomove((void *)(va + off), cnt, |