Message ID | 20121023124431.GA17286@localhost (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c index 26d5667..2efee27 100644 --- a/drivers/cpuidle/governors/menu.c +++ b/drivers/cpuidle/governors/menu.c @@ -248,7 +248,7 @@ static enum hrtimer_restart menu_hrtimer_notify(struct hrtimer *hrtimer) static u32 get_typical_interval(struct menu_device *data) { int i = 0, divisor = 0; - int64_t max = 0, avg = 0, stddev = 0; + uint64_t max = 0, avg = 0, stddev = 0; int64_t thresh = LLONG_MAX; /* Discard outliers above this value. */ unsigned int ret = 0;