summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/iommu.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-07-24 19:07:44 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-07-24 19:07:44 +0000
commit95f16cf75bbb505f11eff9ff2370dd7f6fadea5d (patch)
tree72e88ec335ae6fbfa2ada272ca21005d7bc29274 /sys/arch/sparc64/dev/iommu.c
parent180f1f618bb2b457474ab5f1dabc276d727833fb (diff)
No need to cast &thing to paddr_t* when thing IS a paddr_t
Diffstat (limited to 'sys/arch/sparc64/dev/iommu.c')
-rw-r--r--sys/arch/sparc64/dev/iommu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/iommu.c b/sys/arch/sparc64/dev/iommu.c
index 711cc35cec4..b4be85b8775 100644
--- a/sys/arch/sparc64/dev/iommu.c
+++ b/sys/arch/sparc64/dev/iommu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iommu.c,v 1.17 2002/05/13 19:43:48 jason Exp $ */
+/* $OpenBSD: iommu.c,v 1.18 2002/07/24 19:07:43 jason Exp $ */
/* $NetBSD: iommu.c,v 1.47 2002/02/08 20:03:45 eeh Exp $ */
/*
@@ -183,7 +183,7 @@ iommu_init(name, is, tsbsize, iovabase)
*/
if (is->is_sb[0] || is->is_sb[1])
(void)pmap_extract(pmap_kernel(), (vaddr_t)&is->is_flush[0],
- (paddr_t *)&is->is_flushpa);
+ &is->is_flushpa);
/*
* now actually start up the IOMMU
@@ -398,7 +398,7 @@ iommu_strbuf_flush_done(is)
if (!is->is_sb[0] && !is->is_sb[1])
return (0);
-
+
/*
* Streaming buffer flushes:
*