Olof Johansson 9bafbb0c4d [POWERPC] Fix CONFIG_SMP=n build error on ppc64
The patch "KVM: fix !SMP build error" change the way smp_call_function()
actually uses the passed in function names on non-SMP builds.  So
previously it was never caught that the function passed in was never
actually defined.

This causes a build error on ppc64_defconfig + CONFIG_SMP=n:

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

So we need to define it even if CONFIG_SMP is off. Either that or ifdef
out the smp_call_function() call, but that's ugly.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-11-13 16:22:44 +11:00
..
2007-10-23 12:31:05 +02:00
2007-11-08 23:35:46 +00:00
2007-10-23 11:20:26 +02:00
2007-10-20 01:34:40 +02:00
2007-11-09 13:09:40 -08:00
2007-10-20 01:14:39 +02:00
2007-10-24 08:55:40 +02:00
2007-10-23 09:49:31 +02:00
2007-11-08 17:01:42 +09:00
2007-11-05 12:18:17 +09:00
2007-11-06 21:23:11 -08:00
2007-11-06 13:57:03 -08:00
2007-10-20 01:24:05 +02:00