* GPL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*/
/*
CFS_MODULE_PARM(config_on_load, "i", int, 0444,
"configure network at module load");
-static struct semaphore lnet_config_mutex;
+static cfs_semaphore_t lnet_config_mutex;
int
lnet_configure (void *arg)
int rc;
ENTRY;
- init_mutex(&lnet_config_mutex);
+ cfs_init_mutex(&lnet_config_mutex);
rc = LNetInit();
if (rc != 0) {