Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 089b43f9 authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 04e82ffb
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -66,6 +66,13 @@ int pmb_unmap(void __iomem *addr);


#else
#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 *
static inline void __iomem *
pmb_remap_caller(phys_addr_t phys, unsigned long size,
pmb_remap_caller(phys_addr_t phys, unsigned long size,
		 pgprot_t prot, void *caller)
		 pgprot_t prot, void *caller)