]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
generic-ipi: fix linux-next tree build failure
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 Jul 2008 07:10:07 +0000 (17:10 +1000)
committerIngo Molnar <mingo@elte.hu>
Thu, 3 Jul 2008 07:25:42 +0000 (09:25 +0200)
Today's linux-next build (powerpc ppc64_defconfig) failed like this:

arch/powerpc/mm/tlb_64.c: In function 'pgtable_free_now':
arch/powerpc/mm/tlb_64.c:66: error: too many arguments to function 'smp_call_function'
arch/powerpc/kernel/machine_kexec_64.c: In function 'kexec_prepare_cpus':
arch/powerpc/kernel/machine_kexec_64.c:175: error: too many arguments to function 'smp_call_function'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: <linuxppc-dev@ozlabs.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/powerpc/kernel/machine_kexec_64.c
arch/powerpc/mm/tlb_64.c

index 704375bda73a928446bb87ba68e492659be093a0..b732b5f8e3568299ae5f706db09ba0cdbfe925ee 100644 (file)
@@ -172,7 +172,7 @@ static void kexec_prepare_cpus(void)
 {
        int my_cpu, i, notified=-1;
 
-       smp_call_function(kexec_smp_down, NULL, 0, /* wait */0);
+       smp_call_function(kexec_smp_down, NULL, /* wait */0);
        my_cpu = get_cpu();
 
        /* check the others cpus are now down (via paca hw cpu id == -1) */
index e2d867ce1c7eb46fb259993ebf8f99c0a177bca9..69ad829a7fa3bb126c32604ffdf249b67446eb65 100644 (file)
@@ -66,7 +66,7 @@ static void pgtable_free_now(pgtable_free_t pgf)
 {
        pte_freelist_forced_free++;
 
-       smp_call_function(pte_free_smp_sync, NULL, 0, 1);
+       smp_call_function(pte_free_smp_sync, NULL, 1);
 
        pgtable_free(pgf);
 }