diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-02-08 00:45:44 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-02-09 11:10:23 -0500 |
commit | b5c7da68667c782bb5049a68a36995cde4c70aaf (patch) | |
tree | 44fca1d1766c303457e2216f1fb7bc2c0891716c /src/post.c | |
parent | 0f6198a116fdffeeaa3cf6036f4ca6611a71b2b3 (diff) | |
download | seabios-b5c7da68667c782bb5049a68a36995cde4c70aaf.tar.gz |
No need to check both CONFIG_THREADS and CONFIG_THREAD_OPTIONROMS.
CONFIG_THREAD_OPTIONROMS depends on CONFIG_THREADS, so the code can
assume that the two are always on when CONFIG_THREAD_OPTIONROMS is on.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/post.c')
-rw-r--r-- | src/post.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -170,7 +170,7 @@ platform_hardware_setup(void) xen_hypercall_setup(); // Start hardware initialization (if optionrom threading) - if (CONFIG_THREADS && CONFIG_THREAD_OPTIONROMS) + if (CONFIG_THREAD_OPTIONROMS) device_hardware_setup(); // Find and initialize other cpus @@ -229,7 +229,7 @@ maininit(void) vgarom_setup(); // Do hardware initialization (if running synchronously) - if (!CONFIG_THREADS || !CONFIG_THREAD_OPTIONROMS) { + if (!CONFIG_THREAD_OPTIONROMS) { device_hardware_setup(); wait_threads(); } |