update rcu
[lttv.git] / tests / kernel / test-rcu-speed.c
index 508821d65e182c4afa8f72b11aaca9cf6a722b4f..15fbe7029c3f08874e786c64d95d7b94a52ef3b4 100644 (file)
@@ -56,8 +56,8 @@ static void do_test_spinlock(void)
        spin_lock_irqsave(&mylock, flags);
        time1 = get_cycles();
        for (i = 0; i < NR_LOOPS; i++) {
-               spin_unlock_irqrestore(&mylock, flags);
-               spin_lock_irqsave(&mylock, flags);
+               spin_unlock(&mylock);
+               spin_lock(&mylock);
        }
        time2 = get_cycles();
        spin_unlock_irqrestore(&mylock, flags);
This page took 0.023517 seconds and 4 git commands to generate.