diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-03-10 02:29:48 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-03-10 02:29:48 -0500 |
commit | 089b43f9737f2e51c6ce354749f5a9f3f093601c (patch) | |
tree | e21a5c03b14dbb7f84ff420493c70215602e011f /arch | |
parent | 04e82ffb0f02e645f3dde5128ef39d425a8b3c6d (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/include/asm/mmu.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/include/asm/mmu.h b/arch/sh/include/asm/mmu.h index 19fe84550b49..56e4418c19b9 100644 --- a/arch/sh/include/asm/mmu.h +++ b/arch/sh/include/asm/mmu.h | |||
@@ -66,6 +66,13 @@ int pmb_unmap(void __iomem *addr); | |||
66 | 66 | ||
67 | #else | 67 | #else |
68 | 68 | ||
69 | static inline int | ||
70 | pmb_bolt_mapping(unsigned long virt, phys_addr_t phys, | ||
71 | unsigned long size, pgprot_t prot) | ||
72 | { | ||
73 | return -EINVAL; | ||
74 | } | ||
75 | |||
69 | static inline void __iomem * | 76 | static inline void __iomem * |
70 | pmb_remap_caller(phys_addr_t phys, unsigned long size, | 77 | pmb_remap_caller(phys_addr_t phys, unsigned long size, |
71 | pgprot_t prot, void *caller) | 78 | pgprot_t prot, void *caller) |