Whamcloud - gitweb
LU-6312 lfsck: modify llsd_master_list with spin_lock
[fs/lustre-release.git] / lnet / selftest / console.h
index 3eeed21..64ed6b5 100644 (file)
@@ -27,7 +27,7 @@
  * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  *
- * Copyright (c) 2012, Intel Corporation.
+ * Copyright (c) 2012, 2013, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -43,7 +43,6 @@
 #ifndef __LST_CONSOLE_H__
 #define __LST_CONSOLE_H__
 
-#ifdef __KERNEL__
 
 #include <libcfs/libcfs.h>
 #include <lnet/lnet.h>
@@ -253,6 +252,8 @@ extern int lstcon_test_add(char *batch_name, int type, int loop,
                           char *src_name, char *dst_name,
                           void *param, int paramlen, int *retp,
                           struct list_head __user *result_up);
-#endif
+
+int lstcon_console_init(void);
+int lstcon_console_fini(void);
 
 #endif