diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-12-16 21:48:49 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-12-16 21:48:49 +0000 |
commit | a206e19d2695f92e4781512258da8dcf210324f2 (patch) | |
tree | df2c3735f45deb526ac1022001ec9fe7d174218f /sys/arch | |
parent | be0fb44f6a33b5fd54fd8c246fb4c9941470d45a (diff) |
68060 CPUs need a few more TLB operations. Oops.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/m68k/m68k/pmap_motorola.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/sys/arch/m68k/m68k/pmap_motorola.c b/sys/arch/m68k/m68k/pmap_motorola.c index d68e70da189..a30e82688f5 100644 --- a/sys/arch/m68k/m68k/pmap_motorola.c +++ b/sys/arch/m68k/m68k/pmap_motorola.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap_motorola.c,v 1.11 2001/12/15 11:21:08 miod Exp $ */ +/* $OpenBSD: pmap_motorola.c,v 1.12 2001/12/16 21:48:48 miod Exp $ */ /* * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -2847,14 +2847,17 @@ pmap_enter_ptpage(pmap, va) ("enter: stab %p refcnt %d\n", pmap->pm_stab, pmap->pm_sref)); } -#if 0 - /* - * Flush stale TLB info. - */ - if (pmap == pmap_kernel()) - TBIAS(); - else - TBIAU(); + +#if defined(M68060) + if (mmutype == MMU_68060) { + /* + * Flush stale TLB info. + */ + if (pmap == pmap_kernel()) + TBIAS(); + else + TBIAU(); + } #endif pmap->pm_ptpages++; splx(s); |