mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
arch/avr32/mm/cache.c: export symbol flush_icache_range() for module using
Need export symbol flush_icache_range() to modules, just like another platforms have done, or can not pass compiling. The related error (with allmodconfig under avr32): ERROR: "flush_icache_range" [drivers/misc/lkdtm.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
This commit is contained in:
parent
8acc8722d3
commit
2601566d01
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ void flush_icache_range(unsigned long start, unsigned long end)
|
|||
__flush_icache_range(start & ~(linesz - 1),
|
||||
(end + linesz - 1) & ~(linesz - 1));
|
||||
}
|
||||
EXPORT_SYMBOL(flush_icache_range);
|
||||
|
||||
/*
|
||||
* This one is called from __do_fault() and do_swap_page().
|
||||
|
|
Loading…
Reference in a new issue