[PATCH] powerpc: Fix !SMP build of rtas.c

Michael Ellerman michael at ellerman.id.au
Tue Jan 31 17:17:47 EST 2006


arch/powerpc/kernel/rtas.c is getting hvcall.h via spinlock.h, but when we're
building for UP we don't include spinlock.h.

 arch/powerpc/kernel/rtas.c |    1 +
 1 files changed, 1 insertion(+)

Index: linux/arch/powerpc/kernel/rtas.c
===================================================================
--- linux.orig/arch/powerpc/kernel/rtas.c
+++ linux/arch/powerpc/kernel/rtas.c
@@ -22,6 +22,7 @@
 
 #include <asm/prom.h>
 #include <asm/rtas.h>
+#include <asm/hvcall.h>
 #include <asm/semaphore.h>
 #include <asm/machdep.h>
 #include <asm/page.h>



More information about the Linuxppc64-dev mailing list