Whamcloud - gitweb
LU-1756 kernel: cleanup lustre_compat25.h
authorPeng Tao <tao.peng@emc.com>
Tue, 30 Oct 2012 09:15:02 +0000 (17:15 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Jan 2013 05:54:46 +0000 (00:54 -0500)
Use cpumask_of_node() rather than node_to_cpumask().
cpumask_of_node() is availabe in latest kernel, while
node_to_cpumask() isn't.

Also fix how cpumask_of_node() is detected. Some OFED
backports cpumask_of_node() and put it in private
include/linux/cpumask.h.

Signed-off-by: Peng Tao <tao.peng@emc.com>
Change-Id: I770fcb549c354c2c925c821d2a8920d867274d7a
Reviewed-on: http://review.whamcloud.com/4588
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>

No differences found