linux/arch/powerpc
LEROY Christophe 5b2a32e806 powerpc/32: memset(0): use cacheable_memzero
cacheable_memzero uses dcbz instruction and is more efficient than
memset(0) when the destination is in RAM

This patch renames memset as generic_memset, and defines memset
as a prolog to cacheable_memzero. This prolog checks if the byte
to set is 0. If not, it falls back to generic_memcpy()

cacheable_memzero disappears as it is not referenced anywhere anymore

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <scottwood@freescale.com>
2015-08-07 22:59:21 -05:00
..
boot Devicetree changes for v4.2 2015-07-01 19:40:18 -07:00
configs powerpc/85xx: Use kconfig fragments 2015-08-07 22:59:19 -05:00
crypto crypto: powerpc/md5 - use md5 IV MD5_HX instead of their raw value 2015-05-18 12:20:20 +08:00
include powerpc/mm: Don't call __flush_dcache_icache_phys() with PA>VA 2015-08-07 22:59:20 -05:00
kernel powerpc/signal: Add helper function to fetch quad word aligned pointer 2015-07-21 11:38:29 +10:00
kvm The bulk of the changes here is for x86. And for once it's not 2015-06-24 09:36:49 -07:00
lib powerpc/32: memset(0): use cacheable_memzero 2015-08-07 22:59:21 -05:00
math-emu
mm powerpc/mm: Don't call __flush_dcache_icache_phys() with PA>VA 2015-08-07 22:59:20 -05:00
net ppc: bpf: Add SKF_AD_CPU for ppc32 2015-02-20 15:19:43 -05:00
oprofile powerpc: Remove mtmsrd(), use existing mtmsr() 2015-07-13 15:47:28 +10:00
perf powerpc/perf/24x7: Fix lockdep warning 2015-07-08 15:18:04 +10:00
platforms powerpc/eeh: Dump PHB diag-data for non-existing PE 2015-07-21 11:38:47 +10:00
sysdev powerpc: use memset_io() to clear CPM Muram 2015-08-07 22:59:20 -05:00
xmon powerpc updates for 3.20 2015-02-11 18:15:38 -08:00
Kconfig powerpc/iommu: Support "hybrid" iommu/direct DMA ops for coherent_mask < dma_mask 2015-07-13 10:10:55 +10:00
Kconfig.debug powerpc: Make STRICT_MM_TYPECHECKS a config option 2015-05-11 19:53:59 +10:00
Makefile powerpc/85xx: Use kconfig fragments 2015-08-07 22:59:19 -05:00
relocs_check.sh powerpc: Convert relocs_check to a shell script using grep 2015-03-23 14:47:39 +11:00