aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/cache.c
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@bell.net>2017-02-20 14:02:46 -0500
committerHelge Deller <deller@gmx.de>2017-02-25 16:30:20 -0500
commitef470a60e10eb12635d7b84c9502cea3028d44e8 (patch)
tree37b33290e4c950aa653e9369c4e84270ee0857bc /arch/parisc/kernel/cache.c
parent8351badf349b22b47c9696f54656db65d7834e42 (diff)
parisc: Remove flush_user_dcache_range and flush_user_icache_range
The functions flush_user_dcache_range() and flush_user_icache_range() are only used by the parisc signal handling code. This code only needs to flush a couple of lines, so the threshold check is unnecessary overhead. Signed-off-by: John David Anglin <dave.anglin@bell.net> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/cache.c')
-rw-r--r--arch/parisc/kernel/cache.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/parisc/kernel/cache.c b/arch/parisc/kernel/cache.c
index 977f0a4f5ecf..20b013cbd297 100644
--- a/arch/parisc/kernel/cache.c
+++ b/arch/parisc/kernel/cache.c
@@ -573,24 +573,6 @@ void flush_cache_mm(struct mm_struct *mm)
573 } 573 }
574} 574}
575 575
576void
577flush_user_dcache_range(unsigned long start, unsigned long end)
578{
579 if ((end - start) < parisc_cache_flush_threshold)
580 flush_user_dcache_range_asm(start,end);
581 else
582 flush_data_cache();
583}
584
585void
586flush_user_icache_range(unsigned long start, unsigned long end)
587{
588 if ((end - start) < parisc_cache_flush_threshold)
589 flush_user_icache_range_asm(start,end);
590 else
591 flush_instruction_cache();
592}
593
594void flush_cache_range(struct vm_area_struct *vma, 576void flush_cache_range(struct vm_area_struct *vma,
595 unsigned long start, unsigned long end) 577 unsigned long start, unsigned long end)
596{ 578{