OSDN Git Service

ARM: l2c: move type string into l2c_init_data structure
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 15 Mar 2014 23:04:10 +0000 (23:04 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 May 2014 23:48:30 +0000 (00:48 +0100)
commit051334bdc5252362500a686100d9ec20cbfdcd8a
treed91cfe46a9b63ef6091164efa86e002524e51b58
parentcf9ea8f130e29915cb441e315f03ab4f64e0d73c
ARM: l2c: move type string into l2c_init_data structure

Rather than decoding this from the ID register, store it in the
l2c_init_data structure.  This simplifies things some more, and
allows us to better provide further details as to how we're
driving the cache.  We print the cache ID value anyway should we
need to precisely identify the cache hardware.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-l2x0.c