diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2002-12-10 23:45:03 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2002-12-10 23:45:03 +0000 |
commit | 3cdda82c88dd5e893ce7c4c00afa050e5d779f73 (patch) | |
tree | 5dda5863fe90b3fb5d8b227807e3bf697597a3e0 /sys/arch | |
parent | 78fd9a6fdbb8af3abb91486f07814c9269c48d50 (diff) |
Use CPU_ISSUN4M macro rather than check cputyp value. Consistent with the rest
of the file.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/sparc/vm_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/vm_machdep.c b/sys/arch/sparc/sparc/vm_machdep.c index 6adbea4cb9c..766cc7259be 100644 --- a/sys/arch/sparc/sparc/vm_machdep.c +++ b/sys/arch/sparc/sparc/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.44 2002/10/14 20:31:46 art Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.45 2002/12/10 23:45:02 miod Exp $ */ /* $NetBSD: vm_machdep.c,v 1.30 1997/03/10 23:55:40 pk Exp $ */ /* @@ -267,7 +267,7 @@ dvma_mapout(kva, va, len) klen = round_page(len + off); #if defined(SUN4M) - if (cputyp == CPU_SUN4M) + if (CPU_ISSUN4M) iommu_remove(kva, klen); else #endif |