summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorHuacai Chen <chenhc@lemote.com>2017-03-16 16:00:29 +0300
committerRalf Baechle <ralf@linux-mips.org>2017-03-22 01:22:43 +0300
commit0be032c190abcdcfa948082b6a1e0d461184ba4d (patch)
tree5335faa32a7118837e6bfc5644b231219781ca50 /tools/perf/util/scripting-engines/trace-event-python.c
parent0115f6cbf26663c86496bc56eeea293f85b77897 (diff)
downloadlinux-0be032c190abcdcfa948082b6a1e0d461184ba4d.tar.xz
MIPS: c-r4k: Fix Loongson-3's vcache/scache waysize calculation
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 Cc: stable@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/15756/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions