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-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=614f15b4fcec4d55641f8977316b4570f9dd1b70;p=~shefty%2Frdma-dev.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 41c24c146d6..342797fc0f9 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 */