为什么__flush_dcache_area未定义?

问题描述 投票:0回答:1

我正在使用xzynqmp cpu(armv8),我想刷新缓存并使用“__flush_dcache_area”api。

但是,编译结果是:

“警告:”__ flush_dcache_area“xxxx undefined!”

有人知道为什么吗?

linux linux-device-driver
1个回答
0
投票

在代码中添加以下行。

#include <asm/cacheflush.h>

© www.soinside.com 2019 - 2024. All rights reserved.