]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
powerpc: fix two implicit header uses in pseries/plpar_wrappers.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 22 Jul 2011 22:04:33 +0000 (18:04 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 03:43:19 +0000 (23:43 -0400)
Removing the implicit presence of module.h from almost everywhere
will reveal this implicit usage of paca.h and string.h headers as
follows:

arch/powerpc/platforms/pseries/plpar_wrappers.h:22: error: implicit declaration of function 'get_lppaca'
arch/powerpc/platforms/pseries/plpar_wrappers.h:208: error: implicit declaration of function 'memcpy'

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/powerpc/platforms/pseries/plpar_wrappers.h

index 4bf21207d7d3b17e95e3a2e1cda7387fd531dd0f..64c1ff4ff196b13abeb3bd42b0a26cd1ba316d84 100644 (file)
@@ -1,7 +1,10 @@
 #ifndef _PSERIES_PLPAR_WRAPPERS_H
 #define _PSERIES_PLPAR_WRAPPERS_H
 
+#include <linux/string.h>
+
 #include <asm/hvcall.h>
+#include <asm/paca.h>
 #include <asm/page.h>
 
 /* Get state of physical CPU from query_cpu_stopped */