summaryrefslogtreecommitdiff
path: root/apps/plugins/fft
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-12-17 07:27:24 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-12-17 07:27:24 +0000
commit6a67707b5ec3b2c649c401550bb7fdef2b7c8d07 (patch)
treebfe31942a4abbaac09ad0f4226effdcef8bf097e /apps/plugins/fft
parent43d7a75369286dc3b39b858df34f66b0b45de34e (diff)
downloadrockbox-6a67707b5ec3b2c649c401550bb7fdef2b7c8d07.tar.gz
rockbox-6a67707b5ec3b2c649c401550bb7fdef2b7c8d07.zip
Commit to certain names for cache coherency APIs and discard the aliases.
Wouldn't surprise me a bit to get some non-green. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31339 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/fft')
-rw-r--r--apps/plugins/fft/fft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c
index 11bdfc8e74..89205503e7 100644
--- a/apps/plugins/fft/fft.c
+++ b/apps/plugins/fft/fft.c
@@ -1249,7 +1249,7 @@ static void fft_thread_entry(void)
1249 } 1249 }
1250 1250
1251 /* write back output for other processor and invalidate for next frame read */ 1251 /* write back output for other processor and invalidate for next frame read */
1252 rb->cpucache_invalidate(); 1252 rb->commit_discard_dcache();
1253 1253
1254 int new_tail = output_tail ^ 1; 1254 int new_tail = output_tail ^ 1;
1255 1255
@@ -1311,7 +1311,7 @@ static void fft_close_fft(void)
1311 /* Handle our FFT thread. */ 1311 /* Handle our FFT thread. */
1312 fft_thread_run = false; 1312 fft_thread_run = false;
1313 rb->thread_wait(fft_thread); 1313 rb->thread_wait(fft_thread);
1314 rb->cpucache_invalidate(); 1314 rb->commit_discard_dcache();
1315} 1315}
1316#else /* NUM_CORES == 1 */ 1316#else /* NUM_CORES == 1 */
1317/* everything serialize on single-core and FFT gets to use IRAM main stack if 1317/* everything serialize on single-core and FFT gets to use IRAM main stack if