[PATCH] cond_resched() might_sleep() fix
authorIngo Molnar <mingo@elte.hu>
Fri, 23 Jun 2006 09:05:23 +0000 (02:05 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:43:04 +0000 (07:43 -0700)
commit8e0a43d8fa953179505869ec28de78550246e795
tree1fc56d6337c487952ab008b8ff063b2a2d48ee02
parent6e6672604773b9bae44d88d38afdf0763c104b1c
[PATCH] cond_resched() might_sleep() fix

add the __might_sleep() check back to cond_resched().

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sched.c