summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorJim Houston <jim.houston@ccur.com>2006-07-30 03:03:39 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-31 13:28:40 -0700
commit2d7d253548cffdce80f4e03664686e9ccb1b0ed7 (patch)
tree08771f36c2506e39f9adfc0bb09e4a574ce196dd /drivers/mmc
parent6ea24f9ad18c65cc179593b5cc2a88cdadf8cc0c (diff)
downloadop-kernel-dev-2d7d253548cffdce80f4e03664686e9ccb1b0ed7.zip
op-kernel-dev-2d7d253548cffdce80f4e03664686e9ccb1b0ed7.tar.gz
[PATCH] fix cond_resched() fix
In cond_resched_lock() it calls __resched_legal() before dropping the spin lock. __resched_legal() will always finds the preempt_count non-zero and will prevent the call to __cond_resched(). The attached patch adds a parameter to __resched_legal() with the expected preempt_count value. Cc: Ingo Molnar <mingo@elte.hu> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud