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)
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>

No differences found