mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 06:08:22 +00:00
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: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
04e82ffb0f
commit
089b43f973
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue