Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / mm / cache-nop.S
blob72d939ef87985ca40cc3a27e47360dac52daa6c2
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #include <linux/linkage.h>
3 #include <linux/init.h>
4 #include <asm/assembler.h>
6 #include "proc-macros.S"
8 ENTRY(nop_flush_icache_all)
9         ret     lr
10 ENDPROC(nop_flush_icache_all)
12         .globl nop_flush_kern_cache_all
13         .equ nop_flush_kern_cache_all, nop_flush_icache_all
15         .globl nop_flush_kern_cache_louis
16         .equ nop_flush_kern_cache_louis, nop_flush_icache_all
18         .globl nop_flush_user_cache_all
19         .equ nop_flush_user_cache_all, nop_flush_icache_all
21         .globl nop_flush_user_cache_range
22         .equ nop_flush_user_cache_range, nop_flush_icache_all
24         .globl nop_coherent_kern_range
25         .equ nop_coherent_kern_range, nop_flush_icache_all
27 ENTRY(nop_coherent_user_range)
28         mov     r0, 0
29         ret     lr
30 ENDPROC(nop_coherent_user_range)
32         .globl nop_flush_kern_dcache_area
33         .equ nop_flush_kern_dcache_area, nop_flush_icache_all
35         .globl nop_dma_flush_range
36         .equ nop_dma_flush_range, nop_flush_icache_all
38         .globl nop_dma_map_area
39         .equ nop_dma_map_area, nop_flush_icache_all
41         .globl nop_dma_unmap_area
42         .equ nop_dma_unmap_area, nop_flush_icache_all
44         __INITDATA
46         @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
47         define_cache_functions nop