]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86_64/ia64 : Fix compilation error for node_to_first_cpu
authorRavikiran G Thirumalai <kiran@scalex86.org>
Thu, 22 Dec 2005 22:21:34 +0000 (14:21 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 24 Dec 2005 20:30:22 +0000 (12:30 -0800)
commite41e91d69986bd363013d3765d6b0451f3b7b8ad
tree0139f623060027645a49f72729c4b1e6e7350248
parentfea6377128135551e3451ac600d4d7a2a2073282
[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 <alokk@calsoftinc.com>
Signed-off-by: Ravikiran G Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-ia64/topology.h
include/asm-x86_64/topology.h