Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146858
b: refs/heads/master
c: fab88d9
h: refs/heads/master
v: v3
  • Loading branch information
Kuninori Morimoto authored and Paul Mundt committed Jun 2, 2009
1 parent b275243 commit 1c12647
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d974ac24b762296eeaebb23e5eff8ed15ce44529
refs/heads/master: fab88d9fe98e9091aafeb9789fbf2e04fdace8ed
7 changes: 7 additions & 0 deletions trunk/arch/sh/kernel/cpu/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ static void __init speculative_execution_init(void)
#define speculative_execution_init() do { } while (0)
#endif

/* 2nd-level cache init */
void __uses_jump_to_uncached __attribute__ ((weak)) l2_cache_init(void)
{
}

/*
* Generic first-level cache init
*/
Expand Down Expand Up @@ -146,6 +151,8 @@ static void __uses_jump_to_uncached cache_init(void)
flags &= ~CCR_CACHE_ENABLE;
#endif

l2_cache_init();

ctrl_outl(flags, CCR);
back_to_cached();
}
Expand Down

0 comments on commit 1c12647

Please sign in to comment.