diff options
author | Yao Cheng <saturdaycoder@gmail.com> | 2011-08-10 15:11:16 +0800 |
---|---|---|
committer | Shinya Kuribayashi <skuribay@pobox.com> | 2011-09-03 10:43:45 +0900 |
commit | dc344589ded4fb4d63ba7f0cdf670e2ffcf5e5a0 (patch) | |
tree | c75ea0e6061e2dd40ef82d4a131818e8e65b2621 /include/lattice.h | |
parent | a1118d60423c1fe25afc9df9015f72739f96fd67 (diff) | |
download | u-boot-imx-dc344589ded4fb4d63ba7f0cdf670e2ffcf5e5a0.zip u-boot-imx-dc344589ded4fb4d63ba7f0cdf670e2ffcf5e5a0.tar.gz u-boot-imx-dc344589ded4fb4d63ba7f0cdf670e2ffcf5e5a0.tar.bz2 |
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: Yao 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: Shinya Kuribayashi <skuribay@pobox.com>
Diffstat (limited to 'include/lattice.h')
0 files changed, 0 insertions, 0 deletions