diff --git a/sys/arch/mips/include/locore.h b/sys/arch/mips/include/locore.h index 8c04730437df..7377f6051362 100644 --- a/sys/arch/mips/include/locore.h +++ b/sys/arch/mips/include/locore.h @@ -1,4 +1,4 @@ -/* $NetBSD: locore.h,v 1.27 2000/03/27 05:23:42 nisimura Exp $ */ +/* $NetBSD: locore.h,v 1.28 2000/03/27 05:30:40 nisimura Exp $ */ /* * Copyright 1996 The Board of Trustees of The Leland Stanford @@ -180,7 +180,7 @@ extern mips_locore_jumpvec_t r4000_locore_vec; #define MachFlushICache mips1_FlushICache #define MachForceCacheUpdate mips1_ForceCacheUpdate #define MachSetPID mips1_SetPID -#define MachTLBFlush() mips1_TBIAP(MIPS1_TLB_NUM_TLB_ENTRIES) +#define MachTLBFlush() mips1_TBIAP(mips_num_tlb_entries) #define MachTLBFlushAddr mips1_TBIS #define MachTLBUpdate mips1_TLBUpdate #define wbflush() mips1_wbflush() diff --git a/sys/arch/mips/mips/mips_machdep.c b/sys/arch/mips/mips/mips_machdep.c index 03fb0b3f32e4..50ad6b690bab 100644 --- a/sys/arch/mips/mips/mips_machdep.c +++ b/sys/arch/mips/mips/mips_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: mips_machdep.c,v 1.71 2000/03/27 05:23:42 nisimura Exp $ */ +/* $NetBSD: mips_machdep.c,v 1.72 2000/03/27 05:30:41 nisimura Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -52,7 +52,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.71 2000/03/27 05:23:42 nisimura Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.72 2000/03/27 05:30:41 nisimura Exp $"); #include "opt_compat_netbsd.h" #include "opt_compat_ultrix.h" @@ -439,7 +439,7 @@ mips_vector_init() switch (cpu_arch) { #ifdef MIPS1 case 1: - mips1_TBIA(MIPS1_TLB_NUM_TLB_ENTRIES); + mips1_TBIA(mips_num_tlb_entries); mips1_vector_init(); break; #endif