Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b445dca authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Don't export flush_dcache_all().



flush_dcache_all() is used internally by the SH-4 cache code, it is not
part of the exported cache API, so make it static and don't export it.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 27d59ec1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
 *  so we need them.
 */
void flush_cache_all(void);
void flush_dcache_all(void);
void flush_cache_mm(struct mm_struct *mm);
#define flush_cache_dup_mm(mm) flush_cache_mm(mm)
void flush_cache_range(struct vm_area_struct *vma, unsigned long start,
+1 −1
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@ static void __uses_jump_to_uncached flush_icache_all(void)
	local_irq_restore(flags);
}

void flush_dcache_all(void)
static inline void flush_dcache_all(void)
{
	(*__flush_dcache_segment_fn)(0UL, boot_cpu_data.dcache.way_size);
	wmb();