Commit 0016745e authored by Brad Heilbrun's avatar Brad Heilbrun Committed by Linus Torvalds

[PATCH] Reorder unlocking in rq_unlock

This trivial patch reorders the unlocking in rq_unlock()... I was
tired of getting stack dumps in my messages file.
parent 0704298b
...@@ -214,8 +214,7 @@ static inline runqueue_t *this_rq_lock(void) ...@@ -214,8 +214,7 @@ static inline runqueue_t *this_rq_lock(void)
static inline void rq_unlock(runqueue_t *rq) static inline void rq_unlock(runqueue_t *rq)
{ {
spin_unlock(&rq->lock); spin_unlock_irq(&rq->lock);
local_irq_enable();
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment