alpha: fix build breakage in asm/cacheflush.h
authorTejun Heo <tj@kernel.org>
Tue, 14 Sep 2010 13:00:22 +0000 (09:00 -0400)
committerMatt Turner <mattst88@gmail.com>
Sun, 19 Sep 2010 03:06:18 +0000 (23:06 -0400)
commitb97f897d60c34adb9a5a37a14033e6a867e86f48
tree612ff3d8417a898ffbe03133df12d716a64bf713
parentaf96f8a340525f24abecc25848a07fff7636a53e
alpha: fix build breakage in asm/cacheflush.h

Alpha SMP flush_icache_user_range() is implemented as an inline
function inside include/asm/cacheflush.h.  It dereferences @current
but doesn't include linux/sched.h and thus causes build failure if
linux/sched.h wasn't included previously.  Fix it by including the
needed header file explicitly.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/include/asm/cacheflush.h