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

From: Kamalesh Babulal
Date: Wed Nov 14 2007 - 07:12:34 EST


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@xxxxxxxxxxxxxxxxxx>
--
--- 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>

+#ifdef CONFIG_PPC_ISERIES
+#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,
IBM, ISTL.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/