sparc: Fix a warning/error in tlb.cc.
authorGabe Black <gabeblack@google.com>
Thu, 12 Sep 2019 00:12:54 +0000 (17:12 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 13 Sep 2019 00:55:25 +0000 (00:55 +0000)
commitb87670f17242f7e171df12c22e9f3e769a241836
treec397843b3d27b937f31d1ad3b117f2b977b6d555
parentc9fabe117947a82e05bf08cbf4f69365c2334304
sparc: Fix a warning/error in tlb.cc.

gcc has started to not like memseting an ojbect to zero in some cases.
Cast the TlbEntry pointer to a void * before memsetting it to placate
gcc.

Change-Id: Iccb3c326fdb82f1f111329ff1a80bb6719cace47
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20830
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/arch/sparc/tlb.cc