Skip to content
Snippets Groups Projects
Commit dc344589 authored by Yao Cheng's avatar Yao Cheng Committed by Shinya Kuribayashi
Browse files

MIPS: mips32: fix wrong loop bound in flush_cache()


The issue is found when calling flush_cache() with zero "size" argument.
The bound of loop is miscalculated in this case and flush_cache() enters
a wrong flushing loop.

Signed-off-by: default avatarYao Cheng <saturdaycoder@gmail.com>
Cc: Shinya Kuribayashi <skuribay@pobox.com>
Cc: Sergei Shtylyov <sshtylyov@mvista.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarShinya Kuribayashi <skuribay@pobox.com>
parent a1118d60
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment