From 43057ab1272ba2b9b052b19a3453fb0f3b510149 Mon Sep 17 00:00:00 2001 From: bellard Date: Wed, 14 Jun 2006 17:15:19 +0000 Subject: use constants for TLB handling (Thiemo Seufer) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1978 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-mips/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-mips/cpu.h') diff --git a/target-mips/cpu.h b/target-mips/cpu.h index de6be29d99..fcc1fdf887 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -87,7 +87,7 @@ struct CPUMIPSState { #endif #if defined(MIPS_USES_R4K_TLB) - tlb_t tlb[16]; + tlb_t tlb[MIPS_TLB_NB]; #endif uint32_t CP0_index; uint32_t CP0_random; -- cgit v1.2.3