|
@@ -169,7 +169,7 @@ static void mipspmu_event_update(struct perf_event *event,
|
|
unsigned long flags;
|
|
unsigned long flags;
|
|
int shift = 64 - TOTAL_BITS;
|
|
int shift = 64 - TOTAL_BITS;
|
|
s64 prev_raw_count, new_raw_count;
|
|
s64 prev_raw_count, new_raw_count;
|
|
- s64 delta;
|
|
|
|
|
|
+ u64 delta;
|
|
|
|
|
|
again:
|
|
again:
|
|
prev_raw_count = local64_read(&hwc->prev_count);
|
|
prev_raw_count = local64_read(&hwc->prev_count);
|