提交 a6325247 编写于 作者: M Matt Fleming 提交者: Paul Mundt

sh: Sprinkle __uses_jump_to_uncached

Fix some callers of jump_to_uncached() and back_to_cached() that were
not annotated with __uses_jump_to_uncached.
Signed-off-by: NMatt Fleming <matt@console-pimps.org>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 f78bab30
...@@ -43,7 +43,7 @@ static void (*__flush_dcache_segment_fn)(unsigned long, unsigned long) = ...@@ -43,7 +43,7 @@ static void (*__flush_dcache_segment_fn)(unsigned long, unsigned long) =
* Called from kernel/module.c:sys_init_module and routine for a.out format, * Called from kernel/module.c:sys_init_module and routine for a.out format,
* signal handler code and kprobes code * signal handler code and kprobes code
*/ */
static void sh4_flush_icache_range(void *args) static void __uses_jump_to_uncached sh4_flush_icache_range(void *args)
{ {
struct flusher_data *data = args; struct flusher_data *data = args;
unsigned long start, end; unsigned long start, end;
......
...@@ -78,7 +78,7 @@ static void sh7705_flush_icache_range(void *args) ...@@ -78,7 +78,7 @@ static void sh7705_flush_icache_range(void *args)
/* /*
* Writeback&Invalidate the D-cache of the page * Writeback&Invalidate the D-cache of the page
*/ */
static void __flush_dcache_page(unsigned long phys) static void __uses_jump_to_uncached __flush_dcache_page(unsigned long phys)
{ {
unsigned long ways, waysize, addrstart; unsigned long ways, waysize, addrstart;
unsigned long flags; unsigned long flags;
...@@ -144,7 +144,7 @@ static void sh7705_flush_dcache_page(void *arg) ...@@ -144,7 +144,7 @@ static void sh7705_flush_dcache_page(void *arg)
__flush_dcache_page(PHYSADDR(page_address(page))); __flush_dcache_page(PHYSADDR(page_address(page)));
} }
static void sh7705_flush_cache_all(void *args) static void __uses_jump_to_uncached sh7705_flush_cache_all(void *args)
{ {
unsigned long flags; unsigned long flags;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册