[PARISC] Make local cache flushes take a void *

Make flush_data_cache_local, flush_instruction_cache_local and
flush_tlb_all_local take a void * so they don't have to be cast
when using on_each_cpu().  This becomes a problem when on_each_cpu
is a macro (as it is in current -mm).

Also move the prototype of flush_tlb_all_local into tlbflush.h and
remove its declaration from .c files.

Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
Matthew Wilcox
2006-01-10 20:47:49 -05:00
committed by Kyle McMartin
parent 8039de10aa
commit 1b2425e3c7
5 changed files with 13 additions and 14 deletions

View File

@@ -998,7 +998,7 @@ void flush_tlb_all(void)
void flush_tlb_all(void)
{
spin_lock(&sid_lock);
flush_tlb_all_local();
flush_tlb_all_local(NULL);
recycle_sids();
spin_unlock(&sid_lock);
}