linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: generic-ipi tree build failure
@ 2008-07-03  7:38 Stephen Rothwell
  2008-07-03  7:47 ` Ingo Molnar
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2008-07-03  7:38 UTC (permalink / raw)
  To: Ingo Molnar, Jens Axboe; +Cc: linux-next, Eduardo Habkost

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

Hi Ingo, Jens,

Today's linux-next build (x86_64 allmodconfig) failed like this:

arch/x86/mm/init_64.c: In function 'set_pte_vaddr':
arch/x86/mm/init_64.c:153: error: 'pud_page' undeclared (first use in this function)
arch/x86/mm/init_64.c: At top level:
arch/x86/mm/init_64.c:188: error: redefinition of 'set_pte_vaddr'
arch/x86/mm/init_64.c:148: error: previous definition of 'set_pte_vaddr' was here

Caused by commit f2ff8984179fe447fc991c34718652e3079e6236 ("x86, 64-bit:
split set_pte_vaddr()") in combination with commit
c7f5cf4f8d53cbf0cf787c95221b34cd91794e4d ("manual merge of
generic-ipi-mergefixups").

I reverted the former commit which makes it build, but is probably not
correct.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread
* linux-next: generic-ipi tree build failure
@ 2008-07-03  7:10 Stephen Rothwell
  2008-07-03  7:22 ` Jens Axboe
  2008-07-03  7:26 ` Ingo Molnar
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Rothwell @ 2008-07-03  7:10 UTC (permalink / raw)
  To: Ingo Molnar, Jens Axboe; +Cc: linuxppc-dev, linux-next, Paul Mackerras


[-- Attachment #1.1: Type: text/plain, Size: 2610 bytes --]

Hi Ingo, Jens,

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/mm/slice.c: In function 'slice_get_unmapped_area':
arch/powerpc/mm/slice.c:559: error: too many arguments to function 'on_each_cpu'
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'

I applied the patch below.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

>From 8bfda9c27bed42020ad1a9058766c4586eeffd58 Mon Sep 17 00:00:00 2001
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 3 Jul 2008 17:06:46 +1000
Subject: [PATCH] generic-ipi: powerpc fallout fixes

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 arch/powerpc/kernel/machine_kexec_64.c |    2 +-
 arch/powerpc/mm/slice.c                |    2 +-
 arch/powerpc/mm/tlb_64.c               |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/powerpc/kernel/machine_kexec_64.c b/arch/powerpc/kernel/machine_kexec_64.c
index 631dfd6..a168514 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)
 {
 	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) */
diff --git a/arch/powerpc/mm/slice.c b/arch/powerpc/mm/slice.c
index 583be67..db44e02 100644
--- a/arch/powerpc/mm/slice.c
+++ b/arch/powerpc/mm/slice.c
@@ -556,7 +556,7 @@ unsigned long slice_get_unmapped_area(unsigned long addr, unsigned long len,
 	if (mask.low_slices || mask.high_slices) {
 		slice_convert(mm, mask, psize);
 		if (psize > MMU_PAGE_BASE)
-			on_each_cpu(slice_flush_segments, mm, 0, 1);
+			on_each_cpu(slice_flush_segments, mm, 1);
 	}
 	return addr;
 
diff --git a/arch/powerpc/mm/tlb_64.c b/arch/powerpc/mm/tlb_64.c
index 509bc56..a01b5c6 100644
--- a/arch/powerpc/mm/tlb_64.c
+++ b/arch/powerpc/mm/tlb_64.c
@@ -63,7 +63,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);
 }
-- 
1.5.6


[-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 146 bytes --]

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-07-03  7:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-03  7:38 linux-next: generic-ipi tree build failure Stephen Rothwell
2008-07-03  7:47 ` Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2008-07-03  7:10 Stephen Rothwell
2008-07-03  7:22 ` Jens Axboe
2008-07-03  7:26 ` Ingo Molnar

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).