diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2009-01-10 21:38:56 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2009-01-10 21:38:56 +0000 |
| commit | ff498519d0a86dc4ea42eecd500f760f0dd0b418 (patch) | |
| tree | ba228c51695314d894f880fbdec9ea1744e9b312 | |
| parent | 6427d127aaedcf7f68f7ad7438c5ffb284b8c9aa (diff) | |
| download | rockbox-ff498519d0a86dc4ea42eecd500f760f0dd0b418.zip rockbox-ff498519d0a86dc4ea42eecd500f760f0dd0b418.tar.gz rockbox-ff498519d0a86dc4ea42eecd500f760f0dd0b418.tar.bz2 rockbox-ff498519d0a86dc4ea42eecd500f760f0dd0b418.tar.xz | |
Red build fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19744 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/pcmbuf.c | 2 | ||||
| -rw-r--r-- | uisimulator/common/io.c | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c index c8ed91e..99e56d1 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 185e462..950ce6e 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; |