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-20110812~2^2~170 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7641758fd5e2b30e73f10030eb8b2e94ee0d6a1f;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 4bf21207d7d3..64c1ff4ff196 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 */