]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: Add pgprot_writecombine/device and PAGE_SHARED defination if NOMMU
authorKefeng Wang <wangkefeng.wang@huawei.com>
Mon, 11 May 2020 02:19:54 +0000 (10:19 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 13 May 2020 00:20:32 +0000 (17:20 -0700)
commita4ea249675f4495699b0ebc99e85e077bb47a6b4
treeceb19f1f2b90a7f3ccd8af97c2d4834de7d2bec3
parentc2524473adcd613e7916142b3e4df8de1f6fd5cc
riscv: Add pgprot_writecombine/device and PAGE_SHARED defination if NOMMU

Some drivers use PAGE_SHARED, pgprot_writecombine()/pgprot_device(),
add the defination to fix build error if NOMMU.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/include/asm/mmio.h
arch/riscv/include/asm/pgtable.h