Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+10 -1
+1
arch/score/include/asm/ucontext.h
··· 1 + #include <asm-generic/ucontext.h>
+1
arch/score/kernel/module.c
··· 23 23 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 24 24 */ 25 25 26 + #include <linux/moduleloader.h> 26 27 #include <linux/module.h> 27 28 #include <linux/vmalloc.h> 28 29
+3
arch/score/kernel/process.c
··· 24 24 */ 25 25 26 26 #include <linux/module.h> 27 + #include <linux/reboot.h> 28 + #include <linux/elfcore.h> 29 + #include <linux/pm.h> 27 30 28 31 void (*pm_power_off)(void); 29 32 EXPORT_SYMBOL(pm_power_off);
+3 -1
arch/score/kernel/signal.c
··· 27 27 #include <linux/signal.h> 28 28 #include <linux/unistd.h> 29 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 34 #include <asm/cacheflush.h> 33 35
+2
arch/score/kernel/sys_score.c
··· 28 28 #include <linux/mman.h> 29 29 #include <linux/module.h> 30 30 #include <linux/unistd.h> 31 + #include <linux/syscalls.h> 32 + #include <asm/syscalls.h> 31 33 32 34 unsigned long shm_align_mask = PAGE_SIZE - 1; 33 35 EXPORT_SYMBOL(shm_align_mask);