]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitfa8174aa225fe3d53b37552e5066e6f0301dbabd
treeceb19f1f2b90a7f3ccd8af97c2d4834de7d2bec3
parent0502bee37cdef755d63eee60236562e5605e2480
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