From ff498519d0a86dc4ea42eecd500f760f0dd0b418 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Sat, 10 Jan 2009 21:38:56 +0000 Subject: Red build fix. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19744 a1c6a512-1295-4272-9138-f99709370657 --- apps/pcmbuf.c | 2 ++ uisimulator/common/io.c | 5 +++++ 2 files changed, 7 insertions(+) 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) } else { +#ifdef HAVE_PRIORITY_SCHEDULING boost_codec_thread(false); +#endif cancel_cpu_boost(); } } 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) return 1; } +int ata_spinup_time(void) +{ + return HZ; +} + static ssize_t io_trigger_and_wait(int cmd) { void *mythread = NULL; -- cgit v1.2.3