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)
static inline void rq_unlock(runqueue_t *rq)
{
spin_unlock(&rq->lock);
local_irq_enable();
spin_unlock_irq(&rq->lock);
}
/*
......
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