From: Paul Gortmaker Date: Fri, 22 Jul 2011 22:04:33 +0000 (-0400) Subject: powerpc: fix two implicit header uses in pseries/plpar_wrappers.h X-Git-Tag: next-20110826~3^2~163 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=efc730d9e731a84245d2362e7ba4e5d349bc8d9d;p=karo-tx-linux.git powerpc: fix two implicit header uses in pseries/plpar_wrappers.h 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 --- diff --git a/arch/powerpc/platforms/pseries/plpar_wrappers.h b/arch/powerpc/platforms/pseries/plpar_wrappers.h index 41c24c146d6a..342797fc0f9c 100644 --- a/arch/powerpc/platforms/pseries/plpar_wrappers.h +++ b/arch/powerpc/platforms/pseries/plpar_wrappers.h @@ -1,7 +1,10 @@ #ifndef _PSERIES_PLPAR_WRAPPERS_H #define _PSERIES_PLPAR_WRAPPERS_H +#include + #include +#include #include /* Get state of physical CPU from query_cpu_stopped */