flush_icache_range: Export symbol to fix build errors
Subsystems (4)
PATCH v2 1/1 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!
--- arch/arc/mm/cache_arc700.c | 1 + arch/hexagon/mm/cache.c | 1 + arch/sh/mm/cache.c | 1 + arch/tile/kernel/smp.c | 1 + arch/xtensa/kernel/smp.c | 1 + 5 files changed, 5 insertions(+)
arch/arc/mm/cache_arc700.c +1 -0
@@ -581,6 +581,7 @@ void flush_icache_range(unsigned long kstart, unsigned long kend) tot_sz -= sz; } } +EXPORT_SYMBOL (flush_icache_range);/* * General purpose helper to make I and D cache lines consistent.
arch/hexagon/mm/cache.c +1 -0
@@ -68,6 +68,7 @@ void flush_icache_range(unsigned long start, unsigned long end) );local_irq_restore (flags); } +EXPORT_SYMBOL (flush_icache_range);void hexagon_clean_dcache_range (unsigned long start,unsigned long end) {
arch/sh/mm/cache.c +1 -0
@@ -229,6 +229,7 @@ void flush_icache_range(unsigned long start, unsigned long end)cacheop_on_each_cpu (local_flush_icache_range, (void *)&data,1 ); } +EXPORT_SYMBOL (flush_icache_range);void flush_icache_page (struct vm_area_struct *vma,struct page *page) {
arch/tile/kernel/smp.c +1 -0
@@ -183,6 +183,7 @@ void flush_icache_range(unsigned long start, unsigned long end)preempt_enable (); } } +EXPORT_SYMBOL (flush_icache_range);/* Called when smp_send_reschedule() triggers IRQ_RESCHEDULE. */
arch/xtensa/kernel/smp.c +1 -0
@@ -571,6 +571,7 @@ void flush_icache_range(unsigned long start, unsigned long end) };on_each_cpu (ipi_flush_icache_range, &fd,1 ); } +EXPORT_SYMBOL (flush_icache_range);/* ------------------------------------------------------------------------- */
Signature · 1 line
1.9.1
Quoted 9 lines · Pranith Kumar
Fix building errors occuring due to a missing export of
flush_icache_range()inkisskb.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]>CC Andrew Morton <[email protected]>
Quoted 7 lines
--- arch/arc/mm/cache_arc700.c | 1 + arch/hexagon/mm/cache.c | 1 + arch/sh/mm/cache.c | 1 + arch/tile/kernel/smp.c | 1 + arch/xtensa/kernel/smp.c | 1 + 5 files changed, 5 insertions(+)
For xtensa
Signature · 2 lines
Thanks. -- Max
Quoted 22 lines · Pranith Kumar
Fix building errors occuring due to a missing export of
flush_icache_range()inkisskb.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]>CC Andrew Morton <[email protected]>--- arch/arc/mm/cache_arc700.c | 1 + arch/hexagon/mm/cache.c | 1 + arch/sh/mm/cache.c | 1 + arch/tile/kernel/smp.c | 1 + arch/xtensa/kernel/smp.c | 1 + 5 files changed, 5 insertions(+)arch/arc/mm/cache_arc700.c +0
-0
arch/arc/mm/cache_arc700.c void flush_icache_range(unsigned long kstart, unsigned long kend) · line 584
Quoted 4 lines
arch/arc/mm/cache_arc700.c +1
-0@@ -581,6 +581,7 @@ void flush_icache_range(unsigned long kstart, unsigned long kend) tot_sz -= sz; } } +EXPORT_SYMBOL (flush_icache_range);
thx,
-Vineet
Quoted 9 lines · Pranith Kumar
Fix building errors occuring due to a missing export of
flush_icache_range()inkisskb.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]>CC Andrew Morton <[email protected]>
Quoted 8 lines
--- arch/arc/mm/cache_arc700.c | 1 + arch/hexagon/mm/cache.c | 1 + arch/sh/mm/cache.c | 1 + arch/tile/kernel/smp.c | 1 + arch/xtensa/kernel/smp.c | 1 + 5 files changed, 5 insertions(+)
For Hexagon,
Signature · 3 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation
Quoted 11 lines
-----Original Message-----
Fix building errors occuring due to a missing export offlush_icache_range()inkisskb.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]>CC Andrew Morton <[email protected]>
Quoted 8 lines
---
arch/arc/mm/cache_arc700.c | 1 + arch/hexagon/mm/cache.c | 1 + arch/sh/mm/cache.c | 1 + arch/tile/kernel/smp.c | 1 + arch/xtensa/kernel/smp.c | 1 + 5 files changed, 5 insertions(+)
For Tile,