diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2016-02-09 19:08:27 +0300 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-03-12 02:20:12 +0300 |
commit | affe587bacf48e328fb8d4c5ef9007b9c555b128 (patch) | |
tree | a3d94f955c7ffdaa58310cb95daa28c63ac576cd /arch/powerpc/kernel/ppc_ksyms.c | |
parent | 5736f96d12dd4204d3aac43bf7b512ab434b904f (diff) | |
download | linux-affe587bacf48e328fb8d4c5ef9007b9c555b128.tar.xz |
powerpc32: move xxxxx_dcache_range() functions inline
flush/clean/invalidate _dcache_range() functions are all very
similar and are quite short. They are mainly used in __dma_sync()
perf_event locate them in the top 3 consumming functions during
heavy ethernet activity
They are good candidate for inlining, as __dma_sync() does
almost nothing but calling them
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'arch/powerpc/kernel/ppc_ksyms.c')
-rw-r--r-- | arch/powerpc/kernel/ppc_ksyms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c index ef7024dacff7..9f01e28ecef3 100644 --- a/arch/powerpc/kernel/ppc_ksyms.c +++ b/arch/powerpc/kernel/ppc_ksyms.c @@ -6,7 +6,9 @@ #include <asm/cacheflush.h> #include <asm/epapr_hcalls.h> +#ifdef CONFIG_PPC64 EXPORT_SYMBOL(flush_dcache_range); +#endif EXPORT_SYMBOL(flush_icache_range); EXPORT_SYMBOL(empty_zero_page); |