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;