]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] Initialize S-cache function pointers even on S-cache-less CPUs.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 27 Feb 2006 19:05:55 +0000 (19:05 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 28 Feb 2006 17:04:19 +0000 (17:04 +0000)
commitc71395e6bd8835a5c6790973401a6e54f4f5ca88
tree321b4a6e222d7d27e388125b067484a105cb464a
parentf8f8f2b5224d4c7f4ecdbee817fa36cfbea636b8
[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>
arch/mips/mm/c-r4k.c