]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa0e499d190e89e8c7cd607ee0f67cf0b275f9f1
tree612ff3d8417a898ffbe03133df12d716a64bf713
parent14ab3ef85a2663c95a92ad9cb4b8353410ec4862
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