ARM: S5P: Bug fix on errors of build with CONFIG_PREEMPT_NONE
authorSeungChull Suh <sc.suh@samsung.com>
Sat, 2 Oct 2010 03:48:12 +0000 (12:48 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 8 Oct 2010 04:50:17 +0000 (13:50 +0900)
commit4341f9b38fe33aab51439ae59593e149a6f61d9f
treec369b8816ee53236022d680c128a03878696cf4d
parent1a95036465e6abdcb639f0d7bb1ec612663caf5b
ARM: S5P: Bug fix on errors of build with CONFIG_PREEMPT_NONE

This patch adds header <linux/sched.h> into the below files for build with
CONFIG_PREEMPT_NONE.

arch/arm/mach-s5p6440/cpu.c
arch/arm/mach-s5p6442/cpu.c
arch/arm/mach-s5pc100/cpu.c
arch/arm/mach-s5pv210/cpu.c

Following is error message of in case of s5pv210_defconfig with CONFIG_PREEMPT_NONE.

arch/arm/mach-s5pv210/cpu.c:91: error: implicit declaration of function 'need_resched'

Signed-off-by: SeungChull Suh <sc.suh@samsung.com>
[kgene.kim@samsung.com: removed mach-s5p64x0/cpu.c]
[kgene.kim@samsung.com: added fix mach-s5p6440/cpu.c]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s5p6440/cpu.c
arch/arm/mach-s5p6442/cpu.c
arch/arm/mach-s5pc100/cpu.c
arch/arm/mach-s5pv210/cpu.c