summaryrefslogtreecommitdiff
path: root/src/mem/cache/prefetch
diff options
context:
space:
mode:
authorRyan Gambord <gambordr@oregonstate.edu>2019-03-10 20:32:21 -0700
committerRyan Gambord <gambordr@oregonstate.edu>2019-03-12 00:20:22 +0000
commit5352c73dfa9113bdc0206e0c44bbf0861a9a3c39 (patch)
treee6db43a632d98369f2dd1c8470e955949e417aa1 /src/mem/cache/prefetch
parent7fd818f2b843a2810270da124d3441f836ca5e5f (diff)
downloadgem5-5352c73dfa9113bdc0206e0c44bbf0861a9a3c39.tar.xz
mem-cache: Removed default arg from get() in prefetch/base.hh
commit b0d1643 caused building against NULL to break due to NULLIsa::GuestByteOrder not being defined. Removal of default argument in src/mem/cache/prefetch/base.hh fixes this. Change-Id: I99a4abb4be1418fadec145481164f7caa3334ca0 Signed-off-by: Ryan Gambord Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17070 Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/mem/cache/prefetch')
-rw-r--r--src/mem/cache/prefetch/base.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/cache/prefetch/base.hh b/src/mem/cache/prefetch/base.hh
index 05895f223..3ef607fad 100644
--- a/src/mem/cache/prefetch/base.hh
+++ b/src/mem/cache/prefetch/base.hh
@@ -201,7 +201,7 @@ class BasePrefetcher : public ClockedObject
*/
template <typename T>
inline T
- get(ByteOrder endian = TheISA::GuestByteOrder) const
+ get(ByteOrder endian) const
{
if (data == nullptr) {
panic("PrefetchInfo::get called with a request with no data.");