powerpc: add 2 common dcache assembly functions
This patch defines the 2 flush_dcache_range and invalidate_dcache_range functions for all the powerpc architecture. Their implementation is borrowed from the kernel's misc_32.S file and replace the ones from mpc86xx and ppc4xx since they were equivalent. This is a fix for the problem introduced by this patch: http://patchwork.ozlabs.org/patch/448849/ Signed-off-by:Valentin Longchamp <valentin.longchamp@keymile.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
York Sun <yorksun@freescale.com>
Showing
- arch/powerpc/cpu/mpc512x/Makefile 0 additions, 3 deletionsarch/powerpc/cpu/mpc512x/Makefile
- arch/powerpc/cpu/mpc512x/cache.c 0 additions, 17 deletionsarch/powerpc/cpu/mpc512x/cache.c
- arch/powerpc/cpu/mpc5xxx/Makefile 0 additions, 1 deletionarch/powerpc/cpu/mpc5xxx/Makefile
- arch/powerpc/cpu/mpc5xxx/cache.c 0 additions, 15 deletionsarch/powerpc/cpu/mpc5xxx/cache.c
- arch/powerpc/cpu/mpc83xx/Makefile 0 additions, 3 deletionsarch/powerpc/cpu/mpc83xx/Makefile
- arch/powerpc/cpu/mpc83xx/cache.c 0 additions, 17 deletionsarch/powerpc/cpu/mpc83xx/cache.c
- arch/powerpc/cpu/mpc85xx/Makefile 0 additions, 3 deletionsarch/powerpc/cpu/mpc85xx/Makefile
- arch/powerpc/cpu/mpc85xx/cache.c 0 additions, 17 deletionsarch/powerpc/cpu/mpc85xx/cache.c
- arch/powerpc/cpu/mpc86xx/cache.S 0 additions, 45 deletionsarch/powerpc/cpu/mpc86xx/cache.S
- arch/powerpc/cpu/ppc4xx/cache.S 0 additions, 43 deletionsarch/powerpc/cpu/ppc4xx/cache.S
- arch/powerpc/lib/ppccache.S 48 additions, 0 deletionsarch/powerpc/lib/ppccache.S
Loading
Please register or sign in to comment