Whamcloud - gitweb
Branch b1_4
[fs/lustre-release.git] / lnet / selftest / timer.c
index eb72a78..e847e48 100644 (file)
@@ -154,7 +154,7 @@ stt_timer_main (void *arg)
         while (!stt_data.stt_shuttingdown) {
                 stt_check_timers(&stt_data.stt_prev_slot);
 
-                wait_event_timeout(stt_data.stt_waitq,
+                cfs_waitq_wait_event_timeout(stt_data.stt_waitq,
                                    stt_data.stt_shuttingdown,
                                    cfs_time_seconds(STTIMER_SLOTTIME));
         }