summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;