From: Ali Saidi Date: Sun, 21 Jan 2007 04:10:43 +0000 (-0500) Subject: atually set all 64 bits of the retun value to 0 X-Git-Tag: m5_2.0_beta3~224^2~9^2~5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57d11578cf424f3e1c27d27d63badcdf7d52ba9d;p=gem5.git atually set all 64 bits of the retun value to 0 --HG-- extra : convert_revision : 77bfdf07a49d41a2392f429fdc632c1461ac504c --- diff --git a/src/arch/sparc/tlb.cc b/src/arch/sparc/tlb.cc index 20a21cf64..460a9c640 100644 --- a/src/arch/sparc/tlb.cc +++ b/src/arch/sparc/tlb.cc @@ -895,7 +895,7 @@ DTB::doMmuRegRead(ThreadContext *tc, Packet *pkt) break; case ASI_SPARC_ERROR_STATUS_REG: warn("returning 0 for SPARC ERROR regsiter read\n"); - pkt->set(ULL(0)); + pkt->set((uint64_t)0); break; case ASI_HYP_SCRATCHPAD: case ASI_SCRATCHPAD: