aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2009-04-22 23:18:06 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2009-04-22 23:18:06 -0400
commit5452cb621be9bcae22fc9c0742fdf89b6bdc4ff6 (patch)
treef795b0316484be49810056b94565d7a1a58a016a
parent0202b6a9e846c4e7d85d4e9a3bd2490eac0d7c32 (diff)
litmus core: reduce lenth of interrups off in tick_no_rqlock()
this was never strictly required, so we might as well avoid it
-rw-r--r--litmus/norqlock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/litmus/norqlock.c b/litmus/norqlock.c
index 11f85d352a..769240075a 100644
--- a/litmus/norqlock.c
+++ b/litmus/norqlock.c
@@ -43,6 +43,8 @@ void tick_no_rqlock(void)
43 next = __get_cpu_var(norq_worklist).next; 43 next = __get_cpu_var(norq_worklist).next;
44 __get_cpu_var(norq_worklist).next = NULL; 44 __get_cpu_var(norq_worklist).next = NULL;
45 45
46 local_irq_restore(flags);
47
46 while (next) { 48 while (next) {
47 todo = next; 49 todo = next;
48 next = next->next; 50 next = next->next;
@@ -52,5 +54,5 @@ void tick_no_rqlock(void)
52 todo->work(todo->arg); 54 todo->work(todo->arg);
53 } 55 }
54 56
55 local_irq_restore(flags); 57
56} 58}