projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7a49dd
)
sh: __uncached_start only on sh32.
author
Paul Mundt
<lethal@linux-sh.org>
Wed, 13 Feb 2008 11:18:01 +0000
(20:18 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Thu, 14 Feb 2008 05:22:12 +0000
(14:22 +0900)
sh64 doesn't provide __uncached_start, so don't reference it
unconditionally.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/init.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/mm/init.c
b/arch/sh/mm/init.c
index 2918c6b146596292236c13d384775a002b65a21a..e2ed6dd252b9f1ca71c9c566ec2978897d3ba6d0 100644
(file)
--- a/
arch/sh/mm/init.c
+++ b/
arch/sh/mm/init.c
@@
-203,6
+203,7
@@
void __init paging_init(void)
free_area_init_nodes(max_zone_pfns);
+#ifdef CONFIG_SUPERH32
/* Set up the uncached fixmap */
set_fixmap_nocache(FIX_UNCACHED, __pa(&__uncached_start));
@@
-214,6
+215,7
@@
void __init paging_init(void)
*/
cached_to_uncached = P2SEG - P1SEG;
#endif
+#endif
}
static struct kcore_list kcore_mem, kcore_vmalloc;