diff options
| author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-07-03 03:10:07 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-07-03 03:25:42 -0400 |
| commit | 392096e98fd55e54035978fe03796fca8d26a574 (patch) | |
| tree | 025f7ecf19977ebb19c565b89f6e07425821b15d | |
| parent | 8b604d520799a995946437d041f46bae7d5bcc8c (diff) | |
generic-ipi: fix linux-next tree build failure
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>
| -rw-r--r-- | arch/powerpc/kernel/machine_kexec_64.c | 2 | ||||
| -rw-r--r-- | arch/powerpc/mm/tlb_64.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/machine_kexec_64.c b/arch/powerpc/kernel/machine_kexec_64.c index 704375bda73a..b732b5f8e356 100644 --- a/arch/powerpc/kernel/machine_kexec_64.c +++ b/arch/powerpc/kernel/machine_kexec_64.c | |||
| @@ -172,7 +172,7 @@ static void kexec_prepare_cpus(void) | |||
| 172 | { | 172 | { |
| 173 | int my_cpu, i, notified=-1; | 173 | int my_cpu, i, notified=-1; |
| 174 | 174 | ||
| 175 | smp_call_function(kexec_smp_down, NULL, 0, /* wait */0); | 175 | smp_call_function(kexec_smp_down, NULL, /* wait */0); |
| 176 | my_cpu = get_cpu(); | 176 | my_cpu = get_cpu(); |
| 177 | 177 | ||
| 178 | /* check the others cpus are now down (via paca hw cpu id == -1) */ | 178 | /* check the others cpus are now down (via paca hw cpu id == -1) */ |
diff --git a/arch/powerpc/mm/tlb_64.c b/arch/powerpc/mm/tlb_64.c index e2d867ce1c7e..69ad829a7fa3 100644 --- a/arch/powerpc/mm/tlb_64.c +++ b/arch/powerpc/mm/tlb_64.c | |||
| @@ -66,7 +66,7 @@ static void pgtable_free_now(pgtable_free_t pgf) | |||
| 66 | { | 66 | { |
| 67 | pte_freelist_forced_free++; | 67 | pte_freelist_forced_free++; |
| 68 | 68 | ||
| 69 | smp_call_function(pte_free_smp_sync, NULL, 0, 1); | 69 | smp_call_function(pte_free_smp_sync, NULL, 1); |
| 70 | 70 | ||
| 71 | pgtable_free(pgf); | 71 | pgtable_free(pgf); |
| 72 | } | 72 | } |
