[PATCH] ppc64: fix xmon build break with non-SMP config

Nathan Lynch ntl at pobox.com
Thu Mar 10 12:40:13 EST 2005


  CC      arch/ppc64/xmon/xmon.o
arch/ppc64/xmon/xmon.c: In function `set_controlled_dabr':
arch/ppc64/xmon/xmon.c:633: warning: implicit declaration of function `plpar_hcall_norets'
arch/ppc64/xmon/xmon.c:633: error: `H_SET_DABR' undeclared (first use in this function)
arch/ppc64/xmon/xmon.c:633: error: (Each undeclared identifier is reported only once
arch/ppc64/xmon/xmon.c:633: error: for each function it appears in.)
arch/ppc64/xmon/xmon.c:634: error: `H_Success' undeclared (first use in this function)


Signed-off-by: Nathan Lynch <ntl at pobox.com>

 xmon.c |    1 +
 1 files changed, 1 insertion(+)

Index: linux-2.6.11-bk5/arch/ppc64/xmon/xmon.c
===================================================================
--- linux-2.6.11-bk5.orig/arch/ppc64/xmon/xmon.c	2005-03-09 20:01:32.000000000 +0000
+++ linux-2.6.11-bk5/arch/ppc64/xmon/xmon.c	2005-03-10 01:09:13.000000000 +0000
@@ -32,6 +32,7 @@
 #include <asm/rtas.h>
 #include <asm/sstep.h>
 #include <asm/bug.h>
+#include <asm/hvcall.h>
 
 #include "nonstdio.h"
 #include "privinst.h"



More information about the Linuxppc64-dev mailing list