diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-02-13 18:49:24 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-02-13 18:49:24 -0500 |
commit | 59c7574767838cd53419779e4cbc2162c14a4ac6 (patch) | |
tree | 680035327b21da431fe5dffb2ae859ea946d2e0a /src/ata.c | |
parent | e1920bec2f86ba1b14e3fefa56d0482f5e77bf2e (diff) | |
download | seabios-hppa-59c7574767838cd53419779e4cbc2162c14a4ac6.zip seabios-hppa-59c7574767838cd53419779e4cbc2162c14a4ac6.tar.gz seabios-hppa-59c7574767838cd53419779e4cbc2162c14a4ac6.tar.bz2 |
Add some ASSERT32FLAT() to help compiler eliminate dead code.
The function pointer passed to run_thread() can confuse the compiler
into thinking the function needs to be emitted. Add ASSERT32FLAT() to
help the compiler eliminate this code.
Diffstat (limited to 'src/ata.c')
-rw-r--r-- | src/ata.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1060,6 +1060,7 @@ ata_init(void) void ata_setup(void) { + ASSERT32FLAT(); if (!CONFIG_ATA) return; |