From: Srinivas KANDAGATLA Date: Thu, 2 Jun 2011 10:30:44 +0000 (+0000) Subject: sh: fix wrong icache/dcache address-array start addr in cache-debugfs. X-Git-Tag: v3.0-rc4~29^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=298c48a811673ba5e292359545f3af6d1a6c9764;p=pandora-kernel.git sh: fix wrong icache/dcache address-array start addr in cache-debugfs. This patch fixes a icache/dcache address-array start address while dumping its entires in debugfs. Perviously the code was attempting to remember the address in static variable, which is no more required for debugfs, as the function can be executed in one pass. Without this patch the start address ends up in wrong place and the /sys/kernel/debug/sh/icache or dcache debugfs contents may not be correct. Signed-off-by: Srinivas Kandagatla Cc: Stuart Menefy Signed-off-by: Paul Mundt --- Reading git-diff-tree failed