From: Ravikiran G Thirumalai Date: Thu, 22 Dec 2005 22:21:34 +0000 (-0800) Subject: [PATCH] x86_64/ia64 : Fix compilation error for node_to_first_cpu X-Git-Tag: v2.6.15-rc7~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c660439ba90aaaa056f68a5b0fc79f6b9e0506f5;p=pandora-kernel.git [PATCH] x86_64/ia64 : Fix compilation error for node_to_first_cpu Fixes a compiler error in node_to_first_cpu, __ffs expects unsigned long as a parameter; instead cpumask_t was being passed. The macro node_to_first_cpu was not yet used in x86_64 and ia64 arches, and so we never hit this. This patch replaces __ffs with first_cpu macro, similar to other arches. Signed-off-by: Alok N Kataria Signed-off-by: Ravikiran G Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed