Whamcloud - gitweb
LU-2989 build: some make targets are broken
[fs/lustre-release.git] / lnet / ulnds / socklnd / poll.c
index b297d92..127d345 100644 (file)
@@ -1,6 +1,4 @@
-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
  * GPL HEADER START
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  * GPL HEADER END
  */
 /*
- * Copyright  2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright (c) 2012, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -201,10 +201,10 @@ usocklnd_poll_thread(void *arg)
                 }
         }
 
-        /* unblock usocklnd_shutdown() */
-        cfs_mt_complete(&pt_data->upt_completion);
+       /* unblock usocklnd_shutdown() */
+       complete(&pt_data->upt_completion);
 
-        return 0;
+       return 0;
 }
 
 /* Returns 0 on success, <0 else */