From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751544AbdFEJP2 (ORCPT ); Mon, 5 Jun 2017 05:15:28 -0400 Received: from terminus.zytor.com ([65.50.211.136]:57323 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751272AbdFEJP1 (ORCPT ); Mon, 5 Jun 2017 05:15:27 -0400 Date: Mon, 5 Jun 2017 02:11:55 -0700 From: "tip-bot for Levin, Alexander (Sasha Levin)" Message-ID: Cc: alexander.levin@verizon.com, peterz@infradead.org, linux-kernel@vger.kernel.org, hpa@zytor.com, tglx@linutronix.de, torvalds@linux-foundation.org, mingo@kernel.org Reply-To: hpa@zytor.com, mingo@kernel.org, torvalds@linux-foundation.org, tglx@linutronix.de, alexander.levin@verizon.com, peterz@infradead.org, linux-kernel@vger.kernel.org In-Reply-To: <20170525130005.5947-21-alexander.levin@verizon.com> References: <20170525130005.5947-21-alexander.levin@verizon.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:locking/core] tools/lib/lockdep: Add dummy current_gfp_context() Git-Commit-ID: 3f5a3934f4165f7f59bf8383011ed559b8acce7e 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 Commit-ID: 3f5a3934f4165f7f59bf8383011ed559b8acce7e Gitweb: http://git.kernel.org/tip/3f5a3934f4165f7f59bf8383011ed559b8acce7e Author: Levin, Alexander (Sasha Levin) AuthorDate: Thu, 25 May 2017 12:58:57 +0000 Committer: Ingo Molnar CommitDate: Mon, 5 Jun 2017 09:28:13 +0200 tools/lib/lockdep: Add dummy current_gfp_context() Signed-off-by: Sasha Levin Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: a.p.zijlstra@chello.nl Cc: ben@decadent.org.uk Link: http://lkml.kernel.org/r/20170525130005.5947-21-alexander.levin@verizon.com Signed-off-by: Ingo Molnar --- tools/lib/lockdep/uinclude/linux/kernel.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/lib/lockdep/uinclude/linux/kernel.h b/tools/lib/lockdep/uinclude/linux/kernel.h index 75ff4b1..4a31ebe 100644 --- a/tools/lib/lockdep/uinclude/linux/kernel.h +++ b/tools/lib/lockdep/uinclude/linux/kernel.h @@ -54,5 +54,8 @@ static inline int lockdep_warn(int condition) #endif #define pr_err(format, ...) fprintf (stderr, format, ## __VA_ARGS__) +#define pr_warn pr_err + +#define current_gfp_context(k) 0 #endif