From: Mike Travis Date: Thu, 15 Jan 2009 20:09:44 +0000 (-0800) Subject: sched: fix warning on ia64 X-Git-Tag: v2.6.30-rc1~3^2~6^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c99dbbe9f8f6b3e9383e64710217e873431d1c31;p=pandora-kernel.git 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 Signed-off-by: Mike Travis Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed