diff options
Diffstat (limited to 'src/arch/arm/pmu.cc')
-rw-r--r-- | src/arch/arm/pmu.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/arch/arm/pmu.cc b/src/arch/arm/pmu.cc index 6ea053e55..39530702c 100644 --- a/src/arch/arm/pmu.cc +++ b/src/arch/arm/pmu.cc @@ -574,8 +574,6 @@ PMU::CounterState::add(uint64_t delta) const uint64_t msb(1ULL << (overflow64 ? 63 : 31)); const uint64_t old_value(value); - assert(delta > 0); - value += delta; // Overflow if the msb goes from 1 to 0 |