update
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 8 May 2008 10:10:00 +0000 (10:10 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 8 May 2008 10:10:00 +0000 (10:10 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2906 04897980-b3bd-0310-b5e0-8ef037075253

tests/kernel/test-rcu-speed.c

index 1475881d509423cb955ab111847a33d7af78e73f..508821d65e182c4afa8f72b11aaca9cf6a722b4f 100644 (file)
@@ -116,8 +116,8 @@ static void do_test_preempt(void)
        preempt_disable();
        time1 = get_cycles();
        for (i = 0; i < NR_LOOPS; i++) {
-               preempt_enable();
                preempt_disable();
+               preempt_enable();
        }
        time2 = get_cycles();
        preempt_enable();
This page took 0.024103 seconds and 4 git commands to generate.