C6X: add Lx_CACHE_SHIFT defines
authorMark Salter <msalter@redhat.com>
Wed, 15 Aug 2012 15:52:01 +0000 (11:52 -0400)
committerMark Salter <msalter@redhat.com>
Wed, 15 Aug 2012 16:26:54 +0000 (12:26 -0400)
commit6330c790dae1229bb33571c48984ca42a8a4c250
treeb1a2c54ac6dd5bda4f2b167bf80230a2de889ee9
parent28a33cbc24e4256c143dce96c7d93bf423229f92
C6X: add Lx_CACHE_SHIFT defines

C6X currently lacks Lx_CACHE_SHIFT defines which are needed in a
few places in the generic kernel. This patch adds _SHIFT defines
for the various caches and bases the Lx_CACHE_BYTES defines on
them.

Signed-off-by: Mark Salter <msalter@redhat.com>
arch/c6x/include/asm/cache.h