]> git.baikalelectronics.ru Git - kernel.git/commit
locking/qspinlock: Explicitly include asm/prefetch.h
authorStafford Horne <shorne@gmail.com>
Fri, 7 Jul 2017 19:56:58 +0000 (04:56 +0900)
committerIngo Molnar <mingo@kernel.org>
Sat, 8 Jul 2017 09:01:11 +0000 (11:01 +0200)
commitad28b14f1997588d323cbe3e837035d072ff6c73
tree1772ecaac170fe59ea390b2054c3ca0673830a6a
parent198c8b7ffb22f3620c402a3748aa3a1632847831
locking/qspinlock: Explicitly include asm/prefetch.h

In architectures that use qspinlock, like x86, prefetch is loaded
indirectly via the asm/qspinlock.h include.  On other architectures, like
OpenRISC, which may want to use asm-generic/qspinlock.h the built will
fail without the asm/prefetch.h include.

Fix this by including directly.

Signed-off-by: Stafford Horne <shorne@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170707195658.23840-1-shorne@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/qspinlock.c