]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: fix build for configs without cache options
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 24 Sep 2015 20:20:46 +0000 (23:20 +0300)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 2 Nov 2015 15:02:51 +0000 (18:02 +0300)
commit78d46ef2f4af99cd4c387c590f27c500e75940d2
treecb566bdc9514682771e020d6c6b1501f768fee4b
parent43eaf85d571fe3fee8addc1b813149847c11c5ab
xtensa: fix build for configs without cache options

- make cache-related assembly macros empty if core doesn't have
  corresponding cache type;
- don't initialize cache attributes in instruction/data TLB entries if
  there's no corresponding cache type.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/cacheasm.h
arch/xtensa/include/asm/initialize_mmu.h