sh: More intelligent entry_mask/way_size calculation.
commitd15f456043175bdf3464514b92a825b88d0546ae
authorPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 09:28:34 +0000 (27 18:28 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 09:28:34 +0000 (27 18:28 +0900)
treeb98ee188453dd5d79ca433c63993bad21c9ca38b
parent72c35543f8cf1316773ffbd9619575bb84ac44fb
sh: More intelligent entry_mask/way_size calculation.

Figure out the cache desc entry_mask at runtime, and remove
hard-coded assumption about the cacheline size.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4/probe.c