Peter Zijlstra
157124c11f
sched: fix warning in hrtick_start_fair()
...
Benjamin Herrenschmidt reported:
> I get that on ppc64 ...
>
> In file included from kernel/sched.c:1595:
> kernel/sched_fair.c: In function ‘hrtick_start_fair’:
> kernel/sched_fair.c:902: warning: comparison of distinct pointer types lacks a cast
>
> Probably harmless but annoying.
s64 delta = slice - ran;
--> delta = max(10000LL, delta);
Probably ppc64's s64 is long vs long long..
I think hpa was looking at sanitizing all these 64bit types across the
architectures.
Use max_t with an explicit type meanwhile.
Reported-by: Benjamin Herrenschmid <benh@kernel.crashing.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-07-28 12:01:58 +02:00
..
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:04 -07:00
2008-07-24 12:55:01 -07:00
2008-07-27 09:58:20 -07:00
2008-07-25 10:53:47 -07:00
2008-06-24 23:36:35 -04:00
2008-06-24 23:36:35 -04:00
2008-07-23 17:47:32 -07:00
2008-06-27 18:09:16 +02:00
2008-07-24 10:47:22 -07:00
2008-07-26 20:53:42 -04:00
2008-07-25 10:53:40 -07:00
2008-07-25 10:53:38 -07:00
2008-07-25 10:53:47 -07:00
2008-07-26 20:53:20 -04:00
2008-07-27 09:58:20 -07:00
2008-07-27 09:58:20 -07:00
2008-06-23 13:31:15 +02:00
2008-07-15 21:55:59 +02:00
2008-07-25 10:53:27 -07:00
2008-07-23 11:18:28 +02:00
2008-07-26 12:00:04 -07:00
2008-06-24 10:52:55 -05:00
2008-07-25 10:53:28 -07:00
2008-07-25 10:53:30 -07:00
2008-07-26 12:00:09 -07:00
2008-06-24 01:28:20 +02:00
2008-06-24 01:28:20 +02:00
2008-07-14 14:55:13 -07:00
2008-07-25 10:53:27 -07:00
2008-07-25 10:53:45 -07:00
2008-07-22 19:24:28 +10:00
2008-06-10 11:45:09 +02:00
2008-07-25 10:53:37 -07:00
2008-07-25 10:53:37 -07:00
2008-07-25 10:53:29 -07:00
2008-07-25 10:53:47 -07:00
2008-07-25 10:53:45 -07:00
2008-07-02 15:06:24 -06:00
2008-05-24 18:49:22 +02:00
2008-07-25 10:53:38 -07:00
2008-07-25 10:53:29 -07:00
2008-07-25 10:53:27 -07:00
2008-07-26 12:00:09 -07:00
2008-07-16 00:29:07 +02:00
2008-07-15 14:12:03 -07:00
2008-07-16 00:29:07 +02:00
2008-06-26 09:24:33 +02:00
2008-07-26 12:00:04 -07:00
2008-07-25 10:53:36 -07:00
2008-07-21 21:55:02 -07:00
2008-07-14 12:19:13 +02:00
2008-06-06 15:19:28 +02:00
2008-06-06 15:19:44 +02:00
2008-06-27 14:31:31 +02:00
2008-07-28 12:01:58 +02:00
2008-06-27 14:31:47 +02:00
2008-07-24 12:53:51 -07:00
2008-07-04 12:50:23 +02:00
2008-07-26 12:00:09 -07:00
2008-07-01 10:14:06 +02:00
2008-07-26 12:00:09 -07:00
2008-07-26 12:00:04 -07:00
2008-07-26 12:00:04 -07:00
2008-07-26 12:00:04 -07:00
2008-06-30 09:20:55 +02:00
2008-07-18 22:02:57 +02:00
2008-07-25 11:35:41 -07:00
2008-07-26 12:00:04 -07:00
2008-07-25 10:53:45 -07:00
2008-07-27 09:45:34 -07:00
2008-07-25 10:53:47 -07:00
2008-07-14 16:06:58 -07:00
2008-07-27 16:12:28 -07:00
2008-07-25 10:53:41 -07:00