diff options
| author | Mike Travis <[email protected]> | 2009-01-15 12:09:44 -0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-01-15 21:15:43 +0100 |
| commit | c99dbbe9f8f6b3e9383e64710217e873431d1c31 (patch) | |
| tree | 7a72c003e92d335bde6001c1007e947acc58f58d /tools/perf/scripts/python | |
| parent | c847a9c7139cd500eb1355367c43aba6aef62a71 (diff) | |
sched: fix warning on ia64
Andrew Morton reported this warning on ia64:
kernel/sched.c: In function `sd_init_NODE':
kernel/sched.c:7449: warning: comparison of distinct pointer types lacks a cast
Using the untyped min() function produces such warnings.
Fix: type the constant 32 as unsigned int to match typeof(num_online_cpus).
Reported-by: Andrew Morton <[email protected]>
Signed-off-by: Mike Travis <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions