From d5d4e47f76ec254b89c6b884f5fcbf340d4fed49 Mon Sep 17 00:00:00 2001 From: Korey Sewell Date: Sun, 19 Jun 2011 21:43:35 -0400 Subject: sparc: init. cache state in TLB valgrind complains and its a potential source of instability, so go ahead and set it to 0 to start --- src/arch/sparc/tlb.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch') diff --git a/src/arch/sparc/tlb.cc b/src/arch/sparc/tlb.cc index 00ec4e411..ddc37cf3b 100644 --- a/src/arch/sparc/tlb.cc +++ b/src/arch/sparc/tlb.cc @@ -50,7 +50,7 @@ namespace SparcISA { TLB::TLB(const Params *p) : BaseTLB(p), size(p->size), usedEntries(0), lastReplaced(0), - cacheValid(false) + cacheState(0), cacheValid(false) { // To make this work you'll have to change the hypervisor and OS if (size > 64) -- cgit v1.2.3