Skip to content

Commit e832487

Browse files
committed
[fix](dfs): Remove unnecessary mmu header file inclusions in dfs_pcached.c
[Description]: 1. Remove mmu.h and other unused header file inclusions in dfs_pcached.c. 2. These inclusions are not used and cause errors when ARCH_MM_MMU is not selected. 3. Cache operations depend on libcpu or bsp instead of MMU.
1 parent f7d5421 commit e832487

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

components/dfs/dfs_v2/src/dfs_pcache.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@
2121

2222
#ifdef RT_USING_PAGECACHE
2323

24-
#include <mm_page.h>
25-
#include <mm_private.h>
26-
#include <mmu.h>
27-
#include <tlb.h>
28-
2924
#ifndef RT_PAGECACHE_COUNT
3025
#define RT_PAGECACHE_COUNT 4096
3126
#endif

0 commit comments

Comments
 (0)