diff options
author | Arnd Bergmann <arnd@arndb.de> | 2009-06-27 08:50:51 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2009-06-27 09:09:46 -0400 |
commit | 9fb24cc50045ec8d13d0a6c3d4d454750b466d61 (patch) | |
tree | 7d81c5d9ecf952e9e50f1d066a83825e37c6ddb9 /arch/score/kernel | |
parent | e831a9c6186ca1f63fdf2f41628193dd690ab440 (diff) |
score: add missing #includes
Files that define a global function should #include the
header with its declaration to make sure that the prototypes
do not diverge.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/score/kernel')
-rw-r--r-- | arch/score/kernel/module.c | 1 | ||||
-rw-r--r-- | arch/score/kernel/process.c | 3 | ||||
-rw-r--r-- | arch/score/kernel/signal.c | 4 | ||||
-rw-r--r-- | arch/score/kernel/sys_score.c | 2 |
4 files changed, 9 insertions, 1 deletions
diff --git a/arch/score/kernel/module.c b/arch/score/kernel/module.c index 4ffce7fe1560..1a625572ecc8 100644 --- a/arch/score/kernel/module.c +++ b/arch/score/kernel/module.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 23 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include <linux/moduleloader.h> | ||
26 | #include <linux/module.h> | 27 | #include <linux/module.h> |
27 | #include <linux/vmalloc.h> | 28 | #include <linux/vmalloc.h> |
28 | 29 | ||
diff --git a/arch/score/kernel/process.c b/arch/score/kernel/process.c index d93966f7ac83..25d08030a883 100644 --- a/arch/score/kernel/process.c +++ b/arch/score/kernel/process.c | |||
@@ -24,6 +24,9 @@ | |||
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include <linux/module.h> | 26 | #include <linux/module.h> |
27 | #include <linux/reboot.h> | ||
28 | #include <linux/elfcore.h> | ||
29 | #include <linux/pm.h> | ||
27 | 30 | ||
28 | void (*pm_power_off)(void); | 31 | void (*pm_power_off)(void); |
29 | EXPORT_SYMBOL(pm_power_off); | 32 | EXPORT_SYMBOL(pm_power_off); |
diff --git a/arch/score/kernel/signal.c b/arch/score/kernel/signal.c index 5c004084d17d..252f6d95ad9e 100644 --- a/arch/score/kernel/signal.c +++ b/arch/score/kernel/signal.c | |||
@@ -27,7 +27,9 @@ | |||
27 | #include <linux/signal.h> | 27 | #include <linux/signal.h> |
28 | #include <linux/unistd.h> | 28 | #include <linux/unistd.h> |
29 | #include <linux/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm-generic/ucontext.h> | 30 | |
31 | #include <asm/syscalls.h> | ||
32 | #include <asm/ucontext.h> | ||
31 | 33 | ||
32 | #include <asm/cacheflush.h> | 34 | #include <asm/cacheflush.h> |
33 | 35 | ||
diff --git a/arch/score/kernel/sys_score.c b/arch/score/kernel/sys_score.c index 331886104325..eb4d2d3b97ad 100644 --- a/arch/score/kernel/sys_score.c +++ b/arch/score/kernel/sys_score.c | |||
@@ -28,6 +28,8 @@ | |||
28 | #include <linux/mman.h> | 28 | #include <linux/mman.h> |
29 | #include <linux/module.h> | 29 | #include <linux/module.h> |
30 | #include <linux/unistd.h> | 30 | #include <linux/unistd.h> |
31 | #include <linux/syscalls.h> | ||
32 | #include <asm/syscalls.h> | ||
31 | 33 | ||
32 | unsigned long shm_align_mask = PAGE_SIZE - 1; | 34 | unsigned long shm_align_mask = PAGE_SIZE - 1; |
33 | EXPORT_SYMBOL(shm_align_mask); | 35 | EXPORT_SYMBOL(shm_align_mask); |