aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/kernel/perf_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/perf_event.c b/arch/mips/kernel/perf_event.c
index 8f7d2f84d095..a8244854d3dc 100644
--- a/arch/mips/kernel/perf_event.c
+++ b/arch/mips/kernel/perf_event.c
@@ -169,7 +169,7 @@ static void mipspmu_event_update(struct perf_event *event,
169 unsigned long flags; 169 unsigned long flags;
170 int shift = 64 - TOTAL_BITS; 170 int shift = 64 - TOTAL_BITS;
171 s64 prev_raw_count, new_raw_count; 171 s64 prev_raw_count, new_raw_count;
172 s64 delta; 172 u64 delta;
173 173
174again: 174again:
175 prev_raw_count = local64_read(&hwc->prev_count); 175 prev_raw_count = local64_read(&hwc->prev_count);