blob: f1cc9861031fb75dae5c7d04528c463313a25e62 [file] [log] [blame]
Catalin Marinas55bdd692010-05-21 18:06:41 +01001/*
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>
Russell King6ebbf2c2014-06-30 16:29:12 +01008#include <asm/assembler.h>
Catalin Marinas55bdd692010-05-21 18:06:41 +01009
10#include "proc-macros.S"
11
12ENTRY(nop_flush_icache_all)
Russell King6ebbf2c2014-06-30 16:29:12 +010013 ret lr
Catalin Marinas55bdd692010-05-21 18:06:41 +010014ENDPROC(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
31ENTRY(nop_coherent_user_range)
32 mov r0, 0
Russell King6ebbf2c2014-06-30 16:29:12 +010033 ret lr
Catalin Marinas55bdd692010-05-21 18:06:41 +010034ENDPROC(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