Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / arch / arm / mm / cache-nop.S
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>
8 #include <asm/assembler.h>
9
10 #include "proc-macros.S"
11
12 ENTRY(nop_flush_icache_all)
13         ret     lr
14 ENDPROC(nop_flush_icache_all)
15
16         .globl nop_flush_kern_cache_all
17         .equ nop_flush_kern_cache_all, nop_flush_icache_all
18
19         .globl nop_flush_kern_cache_louis
20         .equ nop_flush_kern_cache_louis, nop_flush_icache_all
21
22         .globl nop_flush_user_cache_all
23         .equ nop_flush_user_cache_all, nop_flush_icache_all
24
25         .globl nop_flush_user_cache_range
26         .equ nop_flush_user_cache_range, nop_flush_icache_all
27
28         .globl nop_coherent_kern_range
29         .equ nop_coherent_kern_range, nop_flush_icache_all
30
31 ENTRY(nop_coherent_user_range)
32         mov     r0, 0
33         ret     lr
34 ENDPROC(nop_coherent_user_range)
35
36         .globl nop_flush_kern_dcache_area
37         .equ nop_flush_kern_dcache_area, nop_flush_icache_all
38
39         .globl nop_dma_flush_range
40         .equ nop_dma_flush_range, nop_flush_icache_all
41
42         .globl nop_dma_map_area
43         .equ nop_dma_map_area, nop_flush_icache_all
44
45         .globl nop_dma_unmap_area
46         .equ nop_dma_unmap_area, nop_flush_icache_all
47
48         __INITDATA
49
50         @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
51         define_cache_functions nop