Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux/fpc-iii.git] / arch / arm / mm / cache-nop.S
blob8e12ddca0031b99ba8be6fc10a5ed53063eea5c5
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License version 2 as
4  * published by the Free Software Foundation.
5  */
6 #include <linux/linkage.h>
7 #include <linux/init.h>
9 #include "proc-macros.S"
11 ENTRY(nop_flush_icache_all)
12         mov     pc, lr
13 ENDPROC(nop_flush_icache_all)
15         .globl nop_flush_kern_cache_all
16         .equ nop_flush_kern_cache_all, nop_flush_icache_all
18         .globl nop_flush_kern_cache_louis
19         .equ nop_flush_kern_cache_louis, nop_flush_icache_all
21         .globl nop_flush_user_cache_all
22         .equ nop_flush_user_cache_all, nop_flush_icache_all
24         .globl nop_flush_user_cache_range
25         .equ nop_flush_user_cache_range, nop_flush_icache_all
27         .globl nop_coherent_kern_range
28         .equ nop_coherent_kern_range, nop_flush_icache_all
30 ENTRY(nop_coherent_user_range)
31         mov     r0, 0
32         mov     pc, lr
33 ENDPROC(nop_coherent_user_range)
35         .globl nop_flush_kern_dcache_area
36         .equ nop_flush_kern_dcache_area, nop_flush_icache_all
38         .globl nop_dma_flush_range
39         .equ nop_dma_flush_range, nop_flush_icache_all
41         .globl nop_dma_map_area
42         .equ nop_dma_map_area, nop_flush_icache_all
44         .globl nop_dma_unmap_area
45         .equ nop_dma_unmap_area, nop_flush_icache_all
47         __INITDATA
49         @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
50         define_cache_functions nop