summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2009-01-10 21:38:56 +0000
committerBjörn Stenberg <bjorn@haxx.se>2009-01-10 21:38:56 +0000
commitff498519d0a86dc4ea42eecd500f760f0dd0b418 (patch)
treeba228c51695314d894f880fbdec9ea1744e9b312
parent6427d127aaedcf7f68f7ad7438c5ffb284b8c9aa (diff)
downloadrockbox-ff498519d0a86dc4ea42eecd500f760f0dd0b418.tar.gz
rockbox-ff498519d0a86dc4ea42eecd500f760f0dd0b418.zip
Red build fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19744 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/pcmbuf.c2
-rw-r--r--uisimulator/common/io.c5
2 files changed, 7 insertions, 0 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index c8ed91e21a..99e56d160d 100644
--- a/apps/pcmbuf.c
+++ b/apps/pcmbuf.c
@@ -295,7 +295,9 @@ static void pcmbuf_under_watermark(bool under)
295 } 295 }
296 else 296 else
297 { 297 {
298#ifdef HAVE_PRIORITY_SCHEDULING
298 boost_codec_thread(false); 299 boost_codec_thread(false);
300#endif
299 cancel_cpu_boost(); 301 cancel_cpu_boost();
300 } 302 }
301 } 303 }
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c
index 185e46260c..950ce6e4ae 100644
--- a/uisimulator/common/io.c
+++ b/uisimulator/common/io.c
@@ -220,6 +220,11 @@ int ata_init(void)
220 return 1; 220 return 1;
221} 221}
222 222
223int ata_spinup_time(void)
224{
225 return HZ;
226}
227
223static ssize_t io_trigger_and_wait(int cmd) 228static ssize_t io_trigger_and_wait(int cmd)
224{ 229{
225 void *mythread = NULL; 230 void *mythread = NULL;