Re: [PATCH] [POWERPC] Fix CONFIG_SMP=n build error on ppc64

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Olof Johansson <olof@...>
Cc: <paulus@...>, <linuxppc-dev@...>, <linux-kernel@...>, Ingo Molnar <mingo@...>, Kamalesh Babulal <kamalesh@...>
Date: Sunday, November 11, 2007 - 12:25 am

On Sat, Nov 10, 2007 at 02:59:29PM -0600, Olof Johansson wrote:
Hi,

Thanks, the patch fixes the build failure.

Tested-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Olof Johansson <olof@lixom.net>

diff --git a/arch/powerpc/mm/tlb_64.c b/arch/powerpc/mm/tlb_64.c
index eafbca5..e2d867c 100644
--- a/arch/powerpc/mm/tlb_64.c
+++ b/arch/powerpc/mm/tlb_64.c
@@ -54,12 +54,10 @@ unsigned long pte_freelist_forced_free;
      ((PAGE_SIZE - sizeof(struct pte_freelist_batch)) \ 
        / sizeof(pgtable_free_t))

-#ifdef CONFIG_SMP
 static void pte_free_smp_sync(void *arg)
 { 
      /* Do nothing, just ensure we sync with all CPUs */
 } 
-#endif

 /* This is only called when we are critically out of memory
  * (and fail to get a page in pte_free_tlb).

-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] [POWERPC] Fix CONFIG_SMP=n build error on ppc64, Olof Johansson, (Sat Nov 10, 4:59 pm)
Re: [PATCH] [POWERPC] Fix CONFIG_SMP=n build error on ppc64, Kamalesh Babulal, (Sun Nov 11, 12:25 am)