summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/resource.h
diff options
context:
space:
mode:
authorJim Houston <jim.houston@ccur.com>2006-07-30 12:03:39 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-31 22:28:40 +0200
commit2d7d253548cffdce80f4e03664686e9ccb1b0ed7 (patch)
tree08771f36c2506e39f9adfc0bb09e4a574ce196dd /include/asm-x86_64/resource.h
parent[PATCH] fix bad macro param in timer.c (diff)
downloadlinux-2d7d253548cffdce80f4e03664686e9ccb1b0ed7.tar.xz
linux-2d7d253548cffdce80f4e03664686e9ccb1b0ed7.zip
[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 'include/asm-x86_64/resource.h')
0 files changed, 0 insertions, 0 deletions