| commit | 4debe4f963f9135771a8c5bc66e84396201dcfd8 | [log] [tgz] |
|---|---|---|
| author | Ralf Baechle <ralf@linux-mips.org> | Mon Feb 27 19:05:55 2006 +0000 |
| committer | Ralf Baechle <ralf@linux-mips.org> | Tue Feb 28 17:04:19 2006 +0000 |
| tree | 321b4a6e222d7d27e388125b067484a105cb464a | |
| parent | 7b14e3b52fe5a2fb1dfa2f1f7dae4fd5f7d3fc47 [diff] |
[MIPS] Initialize S-cache function pointers even on S-cache-less CPUs.
When a CPU has no scache, the scache flushing functions currently
aren't getting initialized and the NULL pointer is eventually called
as a function. Initialize the scache flushing functions as a noop
when there's no scache.
Initial patch by me and most of the debugging done by Martin Michlmayr.
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>