summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/sparc/iommu.c3
-rw-r--r--sys/arch/sparc/sparc/pmap.c5
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/sparc/sparc/iommu.c b/sys/arch/sparc/sparc/iommu.c
index 8121bc74388..5ac357db671 100644
--- a/sys/arch/sparc/sparc/iommu.c
+++ b/sys/arch/sparc/sparc/iommu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iommu.c,v 1.18 2002/10/07 18:35:56 mickey Exp $ */
+/* $OpenBSD: iommu.c,v 1.19 2005/03/29 11:33:18 miod Exp $ */
/* $NetBSD: iommu.c,v 1.13 1997/07/29 09:42:04 fair Exp $ */
/*
@@ -133,7 +133,6 @@ iommu_attach(parent, self, aux)
vaddr_t va;
paddr_t iopte_pa;
-/*XXX-GCC!*/mmupcrsave=0;
iommu_sc = sc;
/*
* XXX there is only one iommu, for now -- do not know how to
diff --git a/sys/arch/sparc/sparc/pmap.c b/sys/arch/sparc/sparc/pmap.c
index 218d7ad25f8..21b895a69ec 100644
--- a/sys/arch/sparc/sparc/pmap.c
+++ b/sys/arch/sparc/sparc/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.140 2005/03/07 16:43:54 miod Exp $ */
+/* $OpenBSD: pmap.c,v 1.141 2005/03/29 11:33:18 miod Exp $ */
/* $NetBSD: pmap.c,v 1.118 1998/05/19 19:00:18 thorpej Exp $ */
/*
@@ -961,8 +961,6 @@ mmu_reservemon4m(kpmap)
int te;
unsigned int mmupcrsave;
-/*XXX-GCC!*/mmupcrsave = 0;
-
/*
* XXX: although the Sun4M can handle 36 bits of physical
* address space, we assume that all these page tables, etc
@@ -1666,7 +1664,6 @@ ctx_alloc(pm)
int gap_start, gap_end;
unsigned long va;
-/*XXX-GCC!*/gap_start=gap_end=0;
#ifdef DEBUG
if (pm->pm_ctx)
panic("ctx_alloc pm_ctx");