* [PATCH] Fix parisc build (flush_tlb_all_local)
@ 2006-01-18 0:20 Alexey Dobriyan
2006-01-18 0:41 ` [parisc-linux] " Kyle McMartin
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2006-01-18 0:20 UTC (permalink / raw)
To: Andrew Morton; +Cc: parisc-linux, linux-kernel
It's taking "void *" now.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
arch/parisc/mm/init.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
--- a/arch/parisc/mm/init.c
+++ b/arch/parisc/mm/init.c
@@ -792,8 +792,6 @@ map_hpux_gateway_page(struct task_struct
EXPORT_SYMBOL(map_hpux_gateway_page);
#endif
-extern void flush_tlb_all_local(void);
-
void __init paging_init(void)
{
int i;
@@ -802,7 +800,7 @@ void __init paging_init(void)
pagetable_init();
gateway_init();
flush_cache_all_local(); /* start with known state */
- flush_tlb_all_local();
+ flush_tlb_all_local(NULL);
for (i = 0; i < npmem_ranges; i++) {
unsigned long zones_size[MAX_NR_ZONES] = { 0, 0, 0 };
@@ -993,7 +991,7 @@ void flush_tlb_all(void)
do_recycle++;
}
spin_unlock(&sid_lock);
- on_each_cpu((void (*)(void *))flush_tlb_all_local, NULL, 1, 1);
+ on_each_cpu(flush_tlb_all_local, NULL, 1, 1);
if (do_recycle) {
spin_lock(&sid_lock);
recycle_sids(recycle_ndirty,recycle_dirty_array);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [parisc-linux] [PATCH] Fix parisc build (flush_tlb_all_local)
2006-01-18 0:20 [PATCH] Fix parisc build (flush_tlb_all_local) Alexey Dobriyan
@ 2006-01-18 0:41 ` Kyle McMartin
0 siblings, 0 replies; 2+ messages in thread
From: Kyle McMartin @ 2006-01-18 0:41 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: Andrew Morton, linux-kernel, parisc-linux
On Wed, Jan 18, 2006 at 03:20:00AM +0300, Alexey Dobriyan wrote:
> It's taking "void *" now.
>
You're the third person to say this. The fix was missed in the initial
changeset. The fixed patch is already queued.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-18 0:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-18 0:20 [PATCH] Fix parisc build (flush_tlb_all_local) Alexey Dobriyan
2006-01-18 0:41 ` [parisc-linux] " Kyle McMartin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).