提交 089b43f9 编写于 作者: P Paul Mundt

sh: Fix up NUMA build for 29-bit.

pmb_bolt_mapping() is undefined on 29-bit builds, so provide a stub.
This fixes up the NUMA build on platforms lacking PMB support.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 04e82ffb
......@@ -66,6 +66,13 @@ int pmb_unmap(void __iomem *addr);
#else
static inline int
pmb_bolt_mapping(unsigned long virt, phys_addr_t phys,
unsigned long size, pgprot_t prot)
{
return -EINVAL;
}
static inline void __iomem *
pmb_remap_caller(phys_addr_t phys, unsigned long size,
pgprot_t prot, void *caller)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册