Whamcloud - gitweb
LU-6068 misc: update Intel copyright messages 2014
[fs/lustre-release.git] / lnet / klnds / gnilnd / gnilnd.h
index f433247..ca7cbf7 100644 (file)
@@ -3,6 +3,8 @@
  *
  * Copyright (C) 2009-2012 Cray, Inc.
  *
+ * Copyright (c) 2013, 2014, Intel Corporation.
+ *
  *   Derived from work by: Eric Barton <eric@bartonsoftware.com>
  *   Author: Nic Henke <nic@cray.com>
  *   Author: James Shimek <jshimek@cray.com>
@@ -1042,8 +1044,7 @@ do {                                                                      \
        atomic_inc(&kgnilnd_data.kgn_nquiesce);                         \
        CDEBUG(D_NET, "Waiting for thread pause to be over...\n");      \
        while (kgnilnd_data.kgn_quiesce_trigger) {                      \
-               set_current_state(TASK_INTERRUPTIBLE);                  \
-               schedule_timeout(HZ);                           \
+               msleep_interruptible(MSEC_PER_SEC);                     \
        }                                                               \
        /* Mom, my homework is done */                                  \
        CDEBUG(D_NET, "Waking up from thread pause\n");                 \