diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-22 18:04:33 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:30:42 -0400 |
commit | 614f15b4fcec4d55641f8977316b4570f9dd1b70 (patch) | |
tree | 534c8fa52b2082c11c3e8c558f88f2efd9d8d88b | |
parent | e415372acc6e789cc840a9bd27f8bdb3e94e0749 (diff) |
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 <paul.gortmaker@windriver.com>
-rw-r--r-- | arch/powerpc/platforms/pseries/plpar_wrappers.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ | |||
1 | #ifndef _PSERIES_PLPAR_WRAPPERS_H | 1 | #ifndef _PSERIES_PLPAR_WRAPPERS_H |
2 | #define _PSERIES_PLPAR_WRAPPERS_H | 2 | #define _PSERIES_PLPAR_WRAPPERS_H |
3 | 3 | ||
4 | #include <linux/string.h> | ||
5 | |||
4 | #include <asm/hvcall.h> | 6 | #include <asm/hvcall.h> |
7 | #include <asm/paca.h> | ||
5 | #include <asm/page.h> | 8 | #include <asm/page.h> |
6 | 9 | ||
7 | /* Get state of physical CPU from query_cpu_stopped */ | 10 | /* Get state of physical CPU from query_cpu_stopped */ |