Whamcloud - gitweb
LU-2800 autoconf: remove obsolete autoconf options
[fs/lustre-release.git] / libcfs / libcfs / linux / linux-cpu.c
index 6bf0af5..99327ba 100644 (file)
@@ -22,7 +22,7 @@
  */
 /*
  * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 2012, Intel Corporation.
+ * Copyright (c) 2012, 2013, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -656,9 +656,7 @@ cfs_cpt_bind(struct cfs_cpt_table *cptab, int cpt)
 #else
                rc = set_cpus_allowed_ptr(cfs_current(), cpumask);
 #endif
-#ifdef HAVE_SET_MEMS_ALLOWED
                set_mems_allowed(*nodemask);
-#endif
                if (rc == 0)
                        cfs_schedule(); /* switch to allowed CPU */