kernel_optimize_test/arch/sh/mm
Christoph Hellwig e0c6584df9 sh: make dma_cache_sync a no-op
sh does not implement DMA_ATTR_NON_CONSISTENT allocations, so it doesn't
make any sense to do any work in dma_cache_sync given that it
must be a no-op when dma_alloc_attrs returns coherent memory.

On the other hand sh uses dma_cache_sync internally in the dma_ops
implementation and for the maple bus that does not use the DMA API,
so a the old functionality for dma_cache_sync is still provided under
the name sh_sync_dma_for_device, and without the redundant dev
argument.  While at it two of the syncing dma_ops also go the proper
_for_device postfix.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
2017-10-19 16:37:44 +02:00
..
alignment.c
asids-debugfs.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task.h> 2017-03-02 08:42:35 +01:00
cache-debugfs.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
cache-j2.c sh: add support for J-Core J2 processor 2016-08-05 03:29:31 +00:00
cache-sh2.c
cache-sh2a.c
cache-sh3.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
cache-sh4.c mm: differentiate page_mapped() from page_mapcount() for compound pages 2016-01-15 17:56:32 -08:00
cache-sh5.c sh: move inline before return type 2017-07-12 16:26:04 -07:00
cache-sh7705.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
cache-shx3.c
cache.c sh: do not perform IPI-based cache flush except on boards that need it 2016-08-05 03:29:40 +00:00
consistent.c sh: make dma_cache_sync a no-op 2017-10-19 16:37:44 +02:00
extable_32.c sched/headers: Remove <asm/ptrace.h> from <linux/sched.h> 2017-03-03 01:45:33 +01:00
extable_64.c lib/extable.c: use bsearch() library function in search_extable() 2017-07-10 16:32:35 -07:00
fault.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
flush-sh4.c
gup.c mm: replace get_user_pages_unlocked() write/force parameters with gup_flags 2016-10-18 14:13:37 -07:00
hugetlbpage.c mm/hugetlb: add size parameter to huge_pte_offset() 2017-07-06 16:24:34 -07:00
init.c mm, memory_hotplug: replace for_device by want_memblock in arch_add_memory 2017-07-06 16:24:32 -07:00
ioremap_fixed.c
ioremap.c treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
Kconfig
kmap.c sched/preempt, sh: kmap_coherent relies on disabled preemption 2016-03-17 19:46:14 +00:00
Makefile sh: add support for J-Core J2 processor 2016-08-05 03:29:31 +00:00
mmap.c mm: larger stack guard gap, between vmas 2017-06-19 21:50:20 +08:00
nommu.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
numa.c sh: use PFN_DOWN macro 2015-09-04 16:54:41 -07:00
pgtable.c sh: get rid of superfluous __GFP_REPEAT 2016-06-24 17:23:52 -07:00
pmb.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
sram.c
tlb-debugfs.c
tlb-pteaex.c
tlb-sh3.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
tlb-sh4.c
tlb-sh5.c
tlb-urb.c
tlbex_32.c
tlbex_64.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
tlbflush_32.c
tlbflush_64.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
uncached.c