nios2: rework cache
authorLey Foon Tan <lftan@altera.com>
Fri, 24 Apr 2015 06:18:55 +0000 (14:18 +0800)
committerLey Foon Tan <lftan@altera.com>
Fri, 24 Apr 2015 06:49:53 +0000 (14:49 +0800)
commit1a70db49a735350f221959bf26e9a12f63a743bc
tree560890c58f12f77d2e1d70482cefc6b0c4111d6e
parent2009337e30cdae64405ea7b8fa1578b921508871
nios2: rework cache

- flush dcache before flush instruction cache
- remork update_mmu_cache and flush_dcache_page
- add shmparam.h

Signed-off-by: Ley Foon Tan <lftan@altera.com>
arch/nios2/include/asm/Kbuild
arch/nios2/include/asm/shmparam.h [new file with mode: 0644]
arch/nios2/mm/cacheflush.c