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://git.karo-electronics.de/?a=commitdiff_plain;h=614f15b4fcec4d55641f8977316b4570f9dd1b70;p=linux-beck.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 */