[PARISC] Fix parisc_setup_cache_timing to choose a better flush threshold
authorStuart Brady <sdb@parisc-linux.org>
Sat, 22 Oct 2005 02:44:14 +0000 (22:44 -0400)
committerKyle McMartin <kyle@parisc-linux.org>
Sat, 22 Oct 2005 02:44:14 +0000 (22:44 -0400)
commit2464212f68136527f6364d63c23a529e1fd7d168
tree5a7a9b56570be465c87047a28d38aadf1357e698
parentf053725b8985d10c2cc4b837a80a381104c936a4
[PARISC] Fix parisc_setup_cache_timing to choose a better flush threshold

update comment about CAFL_STRIDE

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Fixed a bug in parisc_setup_cache_timing() which caused it to calculate
a poor value for parisc_cache_flush_threshold.

Thanks to Joel Soete for spotting the bug.
Thanks to James Bottomley for pointing out the clean way to fix this.

Signed-off-by: Stuart Brady <sdb@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/cache.c