Whamcloud - gitweb
b=2776
[fs/lustre-release.git] / lustre / portals / knals / scimacnal / scimacnal.c
index 5ffba31..35de6eb 100644 (file)
@@ -108,10 +108,15 @@ static int kscimacnal_shutdown(nal_t *nal, int ni)
 }
 
 
-static void kscimacnal_yield( nal_t *nal )
+static void kscimacnal_yield( nal_t *nal, unsigned long *flags, int milliseconds )
 {
         LASSERT (nal == &kscimacnal_api);
 
+        if (milliseconds != 0) {
+                CERROR ("Blocking yield not implemented yet\n");
+                LBUG();
+        }
+
         if (current->need_resched) 
                 schedule();
         return;