X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmem%2Fcache%2Ftags%2Frandom_repl.cc;h=ab51f640770c0a9560f107e1fb2e24eab203e9c4;hb=1d4717ab7ece153206b0bd0bd8e1acc9497cbf05;hp=9f1ef800ae6ae4066d1be2070526ca9721128ab5;hpb=0c89c15b23d4db50eb08f8ebf2a40b569f41dd29;p=gem5.git diff --git a/src/mem/cache/tags/random_repl.cc b/src/mem/cache/tags/random_repl.cc index 9f1ef800a..ab51f6407 100644 --- a/src/mem/cache/tags/random_repl.cc +++ b/src/mem/cache/tags/random_repl.cc @@ -1,5 +1,6 @@ /* * Copyright (c) 2014 The Regents of The University of Michigan + * Copyright (c) 2016 ARM Limited * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -33,9 +34,10 @@ * Definitions of a random replacement tag store. */ +#include "mem/cache/tags/random_repl.hh" + #include "base/random.hh" #include "debug/CacheRepl.hh" -#include "mem/cache/tags/random_repl.hh" #include "mem/cache/base.hh" RandomRepl::RandomRepl(const Params *p) @@ -45,9 +47,9 @@ RandomRepl::RandomRepl(const Params *p) } CacheBlk* -RandomRepl::accessBlock(Addr addr, bool is_secure, Cycles &lat, int master_id) +RandomRepl::accessBlock(Addr addr, bool is_secure, Cycles &lat) { - return BaseSetAssoc::accessBlock(addr, is_secure, lat, master_id); + return BaseSetAssoc::accessBlock(addr, is_secure, lat); } CacheBlk*