Skip to content

Commit 0a906ed

Browse files
raiden00plxiaoxiang781216
authored andcommitted
testing/mm/cachetest/cachetest_main.c: fix compilation error
fix compilation error: cachetest_main.c: In function ‘cachetest_main’: cachetest_main.c:240:7: error: implicit declaration of function ‘up_flush_dcache’ [-Wimplicit-function-declaration] 240 | up_flush_dcache((uintptr_t)info.waddr, (uintptr_t)info.waddr + Signed-off-by: raiden00pl <raiden00@railab.me>
1 parent 1f1240a commit 0a906ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testing/mm/cachetest/cachetest_main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
****************************************************************************/
2626

2727
#include <nuttx/config.h>
28+
#include <nuttx/cache.h>
29+
2830
#include <stdio.h>
2931
#include <syslog.h>
3032

0 commit comments

Comments
 (0)