Skip to content

Commit e356030

Browse files
pranithtorvalds
authored andcommitted
flush_icache_range: export symbol to fix build errors
Fix building errors occuring due to a missing export of flush_icache_range() in kisskb.ellerman.id.au/kisskb/buildresult/11677809/ ERROR: "flush_icache_range" [drivers/misc/lkdtm.ko] undefined! Signed-off-by: Pranith Kumar <[email protected]> Reported-by: Geert Uytterhoeven <[email protected]> Acked-by: Vineet Gupta <[email protected]> [arc] Acked-by: Richard Kuo <[email protected]> [hexagon] Cc: Chris Metcalf <[email protected]> Cc: Chris Zankel <[email protected]> Acked-by: Max Filippov <[email protected]> [xtensa] Cc: Noam Camus <[email protected]> Cc: Masami Hiramatsu <[email protected]> Acked-by: Zhigang Lu <[email protected]> [tile] Cc: Kirill Tkhai <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 498b473 commit e356030

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

arch/arc/mm/cache_arc700.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ void flush_icache_range(unsigned long kstart, unsigned long kend)
581581
tot_sz -= sz;
582582
}
583583
}
584+
EXPORT_SYMBOL(flush_icache_range);
584585

585586
/*
586587
* General purpose helper to make I and D cache lines consistent.

arch/hexagon/mm/cache.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ void flush_icache_range(unsigned long start, unsigned long end)
6868
);
6969
local_irq_restore(flags);
7070
}
71+
EXPORT_SYMBOL(flush_icache_range);
7172

7273
void hexagon_clean_dcache_range(unsigned long start, unsigned long end)
7374
{

arch/sh/mm/cache.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ void flush_icache_range(unsigned long start, unsigned long end)
229229

230230
cacheop_on_each_cpu(local_flush_icache_range, (void *)&data, 1);
231231
}
232+
EXPORT_SYMBOL(flush_icache_range);
232233

233234
void flush_icache_page(struct vm_area_struct *vma, struct page *page)
234235
{

arch/tile/kernel/smp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ void flush_icache_range(unsigned long start, unsigned long end)
183183
preempt_enable();
184184
}
185185
}
186+
EXPORT_SYMBOL(flush_icache_range);
186187

187188

188189
/* Called when smp_send_reschedule() triggers IRQ_RESCHEDULE. */

arch/xtensa/kernel/smp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@ void flush_icache_range(unsigned long start, unsigned long end)
571571
};
572572
on_each_cpu(ipi_flush_icache_range, &fd, 1);
573573
}
574+
EXPORT_SYMBOL(flush_icache_range);
574575

575576
/* ------------------------------------------------------------------------- */
576577

0 commit comments

Comments
 (0)