]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit12ad47069c0a54e40fb88e25aba885ffb3b783eb
treeb1a2c54ac6dd5bda4f2b167bf80230a2de889ee9
parentb4d0930db64c37d2c2a66d6f7556c555a97c2d51
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