Module Name: src Committed By: matt Date: Tue Feb 22 08:18:47 UTC 2011
Modified Files: src/sys/arch/mips/mips: mips_fixup.c Log Message: Always have a stub for tlb_write_indexed To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mips/mips/mips_fixup.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/mips/mips/mips_fixup.c diff -u src/sys/arch/mips/mips/mips_fixup.c:1.3 src/sys/arch/mips/mips/mips_fixup.c:1.4 --- src/sys/arch/mips/mips/mips_fixup.c:1.3 Sun Feb 20 16:38:13 2011 +++ src/sys/arch/mips/mips/mips_fixup.c Tue Feb 22 08:18:47 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: mips_fixup.c,v 1.3 2011/02/20 16:38:13 rmind Exp $ */ +/* $NetBSD: mips_fixup.c,v 1.4 2011/02/22 08:18:47 matt Exp $ */ /*- * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mips_fixup.c,v 1.3 2011/02/20 16:38:13 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mips_fixup.c,v 1.4 2011/02/22 08:18:47 matt Exp $"); #include "opt_multiprocessor.h" #include "opt_mips3_wired.h" @@ -350,9 +350,8 @@ int tlb_update(vaddr_t, uint32_t) __stub; void tlb_enter(size_t, vaddr_t, uint32_t) __stub; void tlb_read_indexed(size_t, struct tlbmask *) __stub; -#if defined(ENABLE_MIPS3_WIRED_MAP) void tlb_write_indexed(size_t, const struct tlbmask *) __stub; -#endif + /* * wbflush isn't a stub since it gets overridden quite late * (after mips_vector_init returns). @@ -419,13 +418,11 @@ (*mips_locore_jumpvec.ljv_tlb_read_indexed)(tlbno, tlb); } -#if defined(ENABLE_MIPS3_WIRED_MAP) void tlb_write_indexed(size_t tlbno, const struct tlbmask *tlb) { (*mips_locore_jumpvec.ljv_tlb_write_indexed)(tlbno, tlb); } -#endif void wbflush(void)