Skip to content

Commit

Permalink
sh: Wire up sh5_cache_init().
Browse files Browse the repository at this point in the history
Now that the SH-5 code is more or less behaving with the new cacheflush
interface, wire up the initialization code.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Aug 15, 2009
1 parent 8c41cdc commit 2b43151
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/sh/mm/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,5 +277,11 @@ void __init cpu_cache_init(void)
sh4_cache_init();
}

if (boot_cpu_data.family == CPU_FAMILY_SH5) {
extern void __weak sh5_cache_init(void);

sh5_cache_init();
}

emit_cache_params();
}

0 comments on commit 2b43151

Please sign in to comment.