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

From: Stephen Rothwell
Date: Mon Nov 19 2007 - 01:44:23 EST


From: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>

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>
Acked-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
---
arch/powerpc/mm/stab.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

On Mon, 19 Nov 2007 11:56:11 +0530 Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx> wrote:
>
> Resubmitting the patch titled
> powerpc-iseries-build-failure-mm-stabc.patch in the -mm tree.

Paulus, this should be fine for merging like above.

Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

diff --git a/arch/powerpc/mm/stab.c b/arch/powerpc/mm/stab.c
index 9e85bda..50448d5 100644
--- a/arch/powerpc/mm/stab.c
+++ b/arch/powerpc/mm/stab.c
@@ -20,6 +20,7 @@
#include <asm/lmb.h>
#include <asm/abs_addr.h>
#include <asm/firmware.h>
+#include <asm/iseries/hv_call.h>

struct stab_entry {
unsigned long esid_data;
--
1.5.3.5

-
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/