cache-nop.S 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 "proc-macros.S"
  9. ENTRY(nop_flush_icache_all)
  10. mov pc, lr
  11. ENDPROC(nop_flush_icache_all)
  12. .globl nop_flush_kern_cache_all
  13. .equ nop_flush_kern_cache_all, nop_flush_icache_all
  14. .globl nop_flush_kern_cache_louis
  15. .equ nop_flush_kern_cache_louis, nop_flush_icache_all
  16. .globl nop_flush_user_cache_all
  17. .equ nop_flush_user_cache_all, nop_flush_icache_all
  18. .globl nop_flush_user_cache_range
  19. .equ nop_flush_user_cache_range, nop_flush_icache_all
  20. .globl nop_coherent_kern_range
  21. .equ nop_coherent_kern_range, nop_flush_icache_all
  22. ENTRY(nop_coherent_user_range)
  23. mov r0, 0
  24. mov pc, lr
  25. ENDPROC(nop_coherent_user_range)
  26. .globl nop_flush_kern_dcache_area
  27. .equ nop_flush_kern_dcache_area, nop_flush_icache_all
  28. .globl nop_dma_flush_range
  29. .equ nop_dma_flush_range, nop_flush_icache_all
  30. .globl nop_dma_map_area
  31. .equ nop_dma_map_area, nop_flush_icache_all
  32. .globl nop_dma_unmap_area
  33. .equ nop_dma_unmap_area, nop_flush_icache_all
  34. __INITDATA
  35. @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
  36. define_cache_functions nop