commit | fa8174aa225fe3d53b37552e5066e6f0301dbabd | [log] [tgz] |
---|---|---|
author | Kefeng Wang <wangkefeng.wang@huawei.com> | Mon May 11 10:19:54 2020 +0800 |
committer | Palmer Dabbelt <palmerdabbelt@google.com> | Tue May 12 17:20:32 2020 -0700 |
tree | ceb19f1f2b90a7f3ccd8af97c2d4834de7d2bec3 | |
parent | 0502bee37cdef755d63eee60236562e5605e2480 [diff] |
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>