projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04e82ff
)
sh: Fix up NUMA build for 29-bit.
author
Paul Mundt
<lethal@linux-sh.org>
Wed, 10 Mar 2010 07:29:48 +0000
(16:29 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Wed, 10 Mar 2010 07:29:48 +0000
(16:29 +0900)
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>
arch/sh/include/asm/mmu.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/include/asm/mmu.h
b/arch/sh/include/asm/mmu.h
index 19fe84550b4915b7e951b97d52637c86cbd77b31..56e4418c19b984832589a53ccce34b554e56c2ed 100644
(file)
--- a/
arch/sh/include/asm/mmu.h
+++ b/
arch/sh/include/asm/mmu.h
@@
-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)