Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752962AbdGHLO0 (ORCPT ); Sat, 8 Jul 2017 07:14:26 -0400 Received: from terminus.zytor.com ([65.50.211.136]:55597 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752884AbdGHLOY (ORCPT ); Sat, 8 Jul 2017 07:14:24 -0400 Date: Sat, 8 Jul 2017 04:09:49 -0700 From: tip-bot for Stafford Horne Message-ID: Cc: hpa@zytor.com, torvalds@linux-foundation.org, mingo@kernel.org, linux-kernel@vger.kernel.org, paulmck@linux.vnet.ibm.com, peterz@infradead.org, akpm@linux-foundation.org, shorne@gmail.com, tglx@linutronix.de Reply-To: paulmck@linux.vnet.ibm.com, mingo@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, akpm@linux-foundation.org, shorne@gmail.com, peterz@infradead.org, torvalds@linux-foundation.org, hpa@zytor.com In-Reply-To: <20170707195658.23840-1-shorne@gmail.com> References: <20170707195658.23840-1-shorne@gmail.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:locking/urgent] locking/qspinlock: Explicitly include asm/prefetch.h Git-Commit-ID: 5671360f29c68d9079914438f6a0109ef62f82a8 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1466 Lines: 40 Commit-ID: 5671360f29c68d9079914438f6a0109ef62f82a8 Gitweb: http://git.kernel.org/tip/5671360f29c68d9079914438f6a0109ef62f82a8 Author: Stafford Horne AuthorDate: Sat, 8 Jul 2017 04:56:58 +0900 Committer: Ingo Molnar CommitDate: Sat, 8 Jul 2017 11:01:11 +0200 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 Cc: Andrew Morton Cc: Linus Torvalds Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/20170707195658.23840-1-shorne@gmail.com Signed-off-by: Ingo Molnar --- kernel/locking/qspinlock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/locking/qspinlock.c b/kernel/locking/qspinlock.c index b2caec7..fd24153 100644 --- a/kernel/locking/qspinlock.c +++ b/kernel/locking/qspinlock.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include