Whamcloud - gitweb
LU-7623 lnet: Get rid of IOC_LIBCFS_DEBUG_PEER hack
[fs/lustre-release.git] / lnet / include / lnet / api.h
index 8b04a9a..f78bfd6 100644 (file)
  * @{
  */
 
+#ifndef __KERNEL__
+# error This include is only for kernel use.
+#endif
+
 #include <lnet/types.h>
 
 /** \defgroup lnet_init_fini Initialization and cleanup
@@ -207,6 +211,7 @@ int LNetGet(lnet_nid_t        self,
 int LNetSetLazyPortal(int portal);
 int LNetClearLazyPortal(int portal);
 int LNetCtl(unsigned int cmd, void *arg);
+void LNetDebugPeer(lnet_process_id_t id);
 
 /** @} lnet_misc */