1/* SPDX-License-Identifier: GPL-2.0-only */ 2#include <linux/linkage.h> 3#include <linux/init.h> 4#include <linux/cfi_types.h> 5#include <asm/assembler.h> 6 7#include "proc-macros.S" 8 9/* 10 * These are all open-coded instead of aliased, to make clear 11 * what is going on here: all functions are stubbed out. 12 */ 13SYM_TYPED_FUNC_START(nop_flush_icache_all) 14 ret lr 15SYM_FUNC_END(nop_flush_icache_all) 16 17SYM_TYPED_FUNC_START(nop_flush_kern_cache_all) 18 ret lr 19SYM_FUNC_END(nop_flush_kern_cache_all) 20 21SYM_TYPED_FUNC_START(nop_flush_user_cache_all) 22 ret lr 23SYM_FUNC_END(nop_flush_user_cache_all) 24 25SYM_TYPED_FUNC_START(nop_flush_user_cache_range) 26 ret lr 27SYM_FUNC_END(nop_flush_user_cache_range) 28 29SYM_TYPED_FUNC_START(nop_coherent_kern_range) 30 ret lr 31SYM_FUNC_END(nop_coherent_kern_range) 32 33SYM_TYPED_FUNC_START(nop_coherent_user_range) 34 mov r0, 0 35 ret lr 36SYM_FUNC_END(nop_coherent_user_range) 37 38SYM_TYPED_FUNC_START(nop_flush_kern_dcache_area) 39 ret lr 40SYM_FUNC_END(nop_flush_kern_dcache_area) 41 42SYM_TYPED_FUNC_START(nop_dma_flush_range) 43 ret lr 44SYM_FUNC_END(nop_dma_flush_range) 45 46SYM_TYPED_FUNC_START(nop_dma_map_area) 47 ret lr 48SYM_FUNC_END(nop_dma_map_area) 49 50SYM_TYPED_FUNC_START(nop_dma_unmap_area) 51 ret lr 52SYM_FUNC_END(nop_dma_unmap_area) 53