diff options
author | Huacai Chen <chenhc@lemote.com> | 2017-03-16 21:00:29 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-12 12:41:15 +0200 |
commit | be56f92cc0a9868c2eab776250abeba5b5c21d77 (patch) | |
tree | b8745b3f402997910d1b22bf0945716e55cba9ff /Documentation/stable_kernel_rules.txt | |
parent | 59b8725f2b1e7e3c5529b0995d0201026f47de2d (diff) |
MIPS: c-r4k: Fix Loongson-3's vcache/scache waysize calculation
commit 0be032c190abcdcfa948082b6a1e0d461184ba4d upstream.
If scache.waysize is 0, r4k___flush_cache_all() will do nothing and
then cause bugs. BTW, though vcache.waysize isn't being used by now,
we also fix its calculation.
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J . Hill <Steven.Hill@caviumnetworks.com>
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15756/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/stable_kernel_rules.txt')
0 files changed, 0 insertions, 0 deletions