arm/arm64: KVM: Turn off vcpus on PSCI shutdown/reboot
[linux/fpc-iii.git] / arch / arm / mm / cache-nop.S
blobf1cc9861031fb75dae5c7d04528c463313a25e62
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>
10 #include "proc-macros.S"
12 ENTRY(nop_flush_icache_all)
13         ret     lr
14 ENDPROC(nop_flush_icache_all)
16         .globl nop_flush_kern_cache_all
17         .equ nop_flush_kern_cache_all, nop_flush_icache_all
19         .globl nop_flush_kern_cache_louis
20         .equ nop_flush_kern_cache_louis, nop_flush_icache_all
22         .globl nop_flush_user_cache_all
23         .equ nop_flush_user_cache_all, nop_flush_icache_all
25         .globl nop_flush_user_cache_range
26         .equ nop_flush_user_cache_range, nop_flush_icache_all
28         .globl nop_coherent_kern_range
29         .equ nop_coherent_kern_range, nop_flush_icache_all
31 ENTRY(nop_coherent_user_range)
32         mov     r0, 0
33         ret     lr
34 ENDPROC(nop_coherent_user_range)
36         .globl nop_flush_kern_dcache_area
37         .equ nop_flush_kern_dcache_area, nop_flush_icache_all
39         .globl nop_dma_flush_range
40         .equ nop_dma_flush_range, nop_flush_icache_all
42         .globl nop_dma_map_area
43         .equ nop_dma_map_area, nop_flush_icache_all
45         .globl nop_dma_unmap_area
46         .equ nop_dma_unmap_area, nop_flush_icache_all
48         __INITDATA
50         @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
51         define_cache_functions nop