0001
0002 #include <linux/linkage.h>
0003 #include <linux/init.h>
0004 #include <asm/assembler.h>
0005
0006 #include "proc-macros.S"
0007
0008 ENTRY(nop_flush_icache_all)
0009 ret lr
0010 ENDPROC(nop_flush_icache_all)
0011
0012 .globl nop_flush_kern_cache_all
0013 .equ nop_flush_kern_cache_all, nop_flush_icache_all
0014
0015 .globl nop_flush_kern_cache_louis
0016 .equ nop_flush_kern_cache_louis, nop_flush_icache_all
0017
0018 .globl nop_flush_user_cache_all
0019 .equ nop_flush_user_cache_all, nop_flush_icache_all
0020
0021 .globl nop_flush_user_cache_range
0022 .equ nop_flush_user_cache_range, nop_flush_icache_all
0023
0024 .globl nop_coherent_kern_range
0025 .equ nop_coherent_kern_range, nop_flush_icache_all
0026
0027 ENTRY(nop_coherent_user_range)
0028 mov r0, 0
0029 ret lr
0030 ENDPROC(nop_coherent_user_range)
0031
0032 .globl nop_flush_kern_dcache_area
0033 .equ nop_flush_kern_dcache_area, nop_flush_icache_all
0034
0035 .globl nop_dma_flush_range
0036 .equ nop_dma_flush_range, nop_flush_icache_all
0037
0038 .globl nop_dma_map_area
0039 .equ nop_dma_map_area, nop_flush_icache_all
0040
0041 .globl nop_dma_unmap_area
0042 .equ nop_dma_unmap_area, nop_flush_icache_all
0043
0044 __INITDATA
0045
0046 @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
0047 define_cache_functions nop