diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-05-24 09:37:57 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-06-04 11:06:58 -0400 |
commit | dd7527c6f51fff199285f1e1cdb3e8e16bd1781b (patch) | |
tree | 36ba7ac6c8276a605414c9e35b9d85f3dec729c4 /src | |
parent | 0673b7870063a3affbad9046fb6d385a4e734c19 (diff) | |
download | seabios-hppa-dd7527c6f51fff199285f1e1cdb3e8e16bd1781b.zip seabios-hppa-dd7527c6f51fff199285f1e1cdb3e8e16bd1781b.tar.gz seabios-hppa-dd7527c6f51fff199285f1e1cdb3e8e16bd1781b.tar.bz2 |
Don't enable thread preemption during S3 resume vga option rom execution.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-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. |