diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-05-24 09:37:57 -0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-11-10 11:28:55 +0100 |
commit | e798f6c4bd3da06e848201b724e2a9a8252ceb22 (patch) | |
tree | 7394cc8c5b1e16447fb6d8ee8b90eb6b64f6d2db | |
parent | 22365a76d4db49b735fc66149ea41b04e5bb05ee (diff) | |
download | seabios-e798f6c4bd3da06e848201b724e2a9a8252ceb22.zip seabios-e798f6c4bd3da06e848201b724e2a9a8252ceb22.tar.gz seabios-e798f6c4bd3da06e848201b724e2a9a8252ceb22.tar.bz2 |
Don't enable thread preemption during S3 resume vga option rom execution.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
(cherry picked from commit dd7527c6f51fff199285f1e1cdb3e8e16bd1781b)
-rw-r--r-- | src/stacks.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. |