Skip to content

Commit

Permalink
sh: __uncached_start only on sh32.
Browse files Browse the repository at this point in the history
sh64 doesn't provide __uncached_start, so don't reference it
unconditionally.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Feb 14, 2008
1 parent c7a49dd commit db02612
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/sh/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand All @@ -214,6 +215,7 @@ void __init paging_init(void)
*/
cached_to_uncached = P2SEG - P1SEG;
#endif
#endif
}

static struct kcore_list kcore_mem, kcore_vmalloc;
Expand Down

0 comments on commit db02612

Please sign in to comment.