Red build fix.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19744 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2009-01-10 21:38:56 +00:00
parent 6427d127aa
commit ff498519d0
2 changed files with 7 additions and 0 deletions

View file

@ -295,7 +295,9 @@ static void pcmbuf_under_watermark(bool under)
} }
else else
{ {
#ifdef HAVE_PRIORITY_SCHEDULING
boost_codec_thread(false); boost_codec_thread(false);
#endif
cancel_cpu_boost(); cancel_cpu_boost();
} }
} }

View file

@ -220,6 +220,11 @@ int ata_init(void)
return 1; return 1;
} }
int ata_spinup_time(void)
{
return HZ;
}
static ssize_t io_trigger_and_wait(int cmd) static ssize_t io_trigger_and_wait(int cmd)
{ {
void *mythread = NULL; void *mythread = NULL;