#define DEBUG_SUBSYSTEM S_LNET
-#include <libcfs/kp30.h>
-#include <libcfs/libcfs.h>
-#include <lnet/lib-lnet.h>
-
#include "selftest.h"
return rc;
}
-/* always called with LNET_LOCK() held, and in thread context */
+/* when in kernel always called with LNET_LOCK() held, and in thread context */
void
srpc_lnet_ev_handler (lnet_event_t *ev)
{
abort();
}
- LNET_LOCK();
srpc_lnet_ev_handler(&ev);
- LNET_UNLOCK();
return 1;
}