Home
last modified time | relevance | path

Searched hist:"172106433 b68bfcc25d025fca346021f005166b7" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/arch/sh/include/asm/
H A Dcache.h172106433b68bfcc25d025fca346021f005166b7 Thu Oct 27 08:59:59 UTC 2011 Mike Frysinger <vapier@gentoo.org> sh: avoid multiple definition errors with cache funcs

Recent builds for SH4 boards fail with a lot of errors like:
cmd_mem.o: In function 'dcache_invalid_range':
include/asm/cache.h:25: multiple definition of 'dcache_invalid_range'
include/asm/cache.h:25: first defined here

This is due to the funcs being defined in the header, but not static
or inline or extern. So move them to the sh4-specific cache.c file.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
/rk3399_rockchip-uboot/arch/sh/cpu/sh4/
H A Dcache.c172106433b68bfcc25d025fca346021f005166b7 Thu Oct 27 08:59:59 UTC 2011 Mike Frysinger <vapier@gentoo.org> sh: avoid multiple definition errors with cache funcs

Recent builds for SH4 boards fail with a lot of errors like:
cmd_mem.o: In function 'dcache_invalid_range':
include/asm/cache.h:25: multiple definition of 'dcache_invalid_range'
include/asm/cache.h:25: first defined here

This is due to the funcs being defined in the header, but not static
or inline or extern. So move them to the sh4-specific cache.c file.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>