dax: allow FS_DAX when CONFIG_ROCKCHIP_RAMDISK=y on ARM

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ic73f4ad0989e33ea14d1842e2b99dd02628f242e
This commit is contained in:
Tao Huang 2022-09-21 17:57:48 +08:00
parent 2a30414424
commit 2c601817eb

View File

@ -45,7 +45,7 @@ source "fs/zonefs/Kconfig"
config FS_DAX
bool "Direct Access (DAX) support"
depends on MMU
depends on !(ARM || MIPS || SPARC)
depends on !(ARM || MIPS || SPARC) || (ROCKCHIP_RAMDISK && ARM)
select DEV_PAGEMAP_OPS if (ZONE_DEVICE && !FS_DAX_LIMITED)
select FS_IOMAP
select DAX