[PATCH] powerpc: Fix !SMP build of rtas.c
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 31 Jan 2006 06:17:47 +0000 (17:17 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 7 Feb 2006 10:28:38 +0000 (21:28 +1100)
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.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/rtas.c

index 7fe4a5c944c9655e60c126ce1dabe0fe9027d0fb..b7092a47064b35e15d234cc354441921c846deb8 100644 (file)
@@ -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>