From: Paul Mundt Date: Wed, 9 Sep 2009 08:13:07 +0000 (+0900) Subject: sh: Fix up redundant cache flushing for PAGE_SIZE > 4k. X-Git-Tag: v2.6.33-rc1~347^2~27^2~104^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4845a4b2288a9e5d96a0558e474809028c8aff3;p=pandora-kernel.git sh: Fix up redundant cache flushing for PAGE_SIZE > 4k. If PAGE_SIZE is presently over 4k we do a lot of extra flushing given that we purge the cache 4k at a time. Make it explicitly 4k per iteration, rather than iterating for PAGE_SIZE before looping over again. Signed-off-by: Paul Mundt --- Reading git-diff-tree failed