Subject: 2.6.24-rc2-git powerpc - kernel build fails !CONFIG_SMP

From: Kamalesh Babulal <[email-masked]>
Date: Sat, 10 Nov 2007 18:38:27 +0530

Hi,

The 2.6.24-rc2-git1 kernel build fails with randconfig on powerpc,

  CC      arch/powerpc/mm/tlb_64.o
arch/powerpc/mm/tlb_64.c: In function ‘pgtable_free_now’:
arch/powerpc/mm/tlb_64.c:71: error: ‘pte_free_smp_sync’ undeclared (first use in this function)
arch/powerpc/mm/tlb_64.c:71: error: (Each undeclared identifier is reported only once
arch/powerpc/mm/tlb_64.c:71: error: for each function it appears in.)
make[1]: *** [arch/powerpc/mm/tlb_64.o] Error 1
make: *** [arch/powerpc/mm] Error 2

The function pgtable_free_now is defined within CONFIG_SMP, and its not set in the
config.

-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.