[PATCH] Don't enable thread preemption during S3 resume vga option rom execution.

May 31, 2014
3:47 a.m.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net> --- src/stacks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stacks.c b/src/stacks.c index 6bcb319..beccc0f 100644 --- a/src/stacks.c +++ b/src/stacks.c @@ -287,7 +287,7 @@ thread_init(void) int threads_during_optionroms(void) { - return CONFIG_THREADS && ThreadControl == 2; + return CONFIG_THREADS && ThreadControl == 2 && in_post(); } // Switch to next thread stack. -- 1.9.3
4035
Age (days ago)
4035
Last active (days ago)
0 comments
1 participants
participants (1)
-
Kevin O'Connor