staging/lustre: call set_cpus_allowed_ptr instead of set_cpus_allowed
authorPeng Tao <bergwolf@gmail.com>
Thu, 6 Jun 2013 14:59:09 +0000 (22:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 18:31:01 +0000 (11:31 -0700)
commit32654b679d458ee066ebadbca2bf95f58c278f0a
tree7f96c1f09fb6e064d9608844822f187f29d17ad2
parentf2c3d800972670fb49bc0ebaeb02450aa591eb0a
staging/lustre: call set_cpus_allowed_ptr instead of set_cpus_allowed

set_cpus_allowed is not available with CONFIG_CPUMASK_OFFSTACK on.
We should call set_cpus_allowed_ptr instead.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h
drivers/staging/lustre/include/linux/libcfs/linux/portals_compat25.h
drivers/staging/lustre/lustre/libcfs/linux/linux-cpu.c
drivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c