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)
commit01618bded680573163403666d0546be536b22ac0
treecb566bdc9514682771e020d6c6b1501f768fee4b
parent5029615e25dc5040beb065f36743c127a8e51497
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