summaryrefslogtreecommitdiff
path: root/fs/efs
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-09-25 18:35:28 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-09-25 18:35:28 +0400
commitc0e9587841a0fd79bbf8296034faefb9afe72fb4 (patch)
treeb82e0e79706f9f63985b4591e1fa02eaa2df73d2 /fs/efs
parent90f1e084783be9bbff4861fa8e460b76de2787f4 (diff)
downloadlinux-c0e9587841a0fd79bbf8296034faefb9afe72fb4.tar.xz
[ARM] Introduce new bitmask based cache type macros
Rather than trying to (inaccurately) decode the cache type from the registers each time we need to decide what type of cache we have, use a bitmask initialized early during boot. Since the setup is a one-off initialization, we can be a little more clever and take account of the CPU architecture as well. Note that we continue to achieve the compactness on optimised kernels by forcing tests to always-false or always-true as appropriate, thereby allowing the compiler to do build-time code elimination. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'fs/efs')
0 files changed, 0 insertions, 0 deletions