diff options
-rw-r--r-- | src/mem/cache/tags/base_set_assoc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/cache/tags/base_set_assoc.cc b/src/mem/cache/tags/base_set_assoc.cc index ea74c97df..ba9447525 100644 --- a/src/mem/cache/tags/base_set_assoc.cc +++ b/src/mem/cache/tags/base_set_assoc.cc @@ -63,7 +63,7 @@ BaseSetAssoc::BaseSetAssoc(const Params *p) if (blkSize < 4 || !isPowerOf2(blkSize)) { fatal("Block size must be at least 4 and a power of 2"); } - if (numSets <= 0 || !isPowerOf2(numSets)) { + if (!isPowerOf2(numSets)) { fatal("# of sets must be non-zero and a power of 2"); } if (assoc <= 0) { |