[PATCH] 2.6.24-rc2-mm1 powerpc (iseries)- build failure - mm/stab.c

Kamalesh Babulal kamalesh at linux.vnet.ibm.com
Wed Nov 14 21:54:10 EST 2007

Hi Andrew,

The kernel builds fails with following error, with randconfig

  CC      arch/powerpc/mm/stab.o
arch/powerpc/mm/stab.c: In function ‘stab_initialize’:
arch/powerpc/mm/stab.c:282: error: implicit declaration of function ‘HvCall1’
arch/powerpc/mm/stab.c:282: error: ‘HvCallBaseSetASR’ undeclared (first use in this function)
arch/powerpc/mm/stab.c:282: error: (Each undeclared identifier is reported only once
arch/powerpc/mm/stab.c:282: error: for each function it appears in.)
make[1]: *** [arch/powerpc/mm/stab.o] Error 1
make: *** [arch/powerpc/mm] Error 2

Signed-off-by: Kamalesh Babulal <kamalesh at linux.vnet.ibm.com>
--- linux-2.6.24-rc2/arch/powerpc/mm/stab.c	2007-11-14 05:22:55.000000000 -0500
+++ linux-2.6.24-rc2/arch/powerpc/mm/~stab.c	2007-11-14 05:23:18.000000000 -0500
@@ -21,6 +21,10 @@
 #include <asm/abs_addr.h>
 #include <asm/firmware.h>
+#include <asm/iseries/hv_call.h>
+#endif /* CONFIG_PPC_ISERIES */
 struct stab_entry {
 	unsigned long esid_data;
 	unsigned long vsid_data;

Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,

More information about the Linuxppc-dev mailing list