[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-ac862d9b2fd084b50ee7a332a35d8d8d3228ce09@git.kernel.org>
Date: Tue, 11 Dec 2018 07:25:33 -0800
From: tip-bot for Bart Van Assche <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: longman@...hat.com, peterz@...radead.org,
linux-kernel@...r.kernel.org, mingo@...nel.org, tglx@...utronix.de,
hpa@...or.com, sasha.levin@...cle.com, bvanassche@....org,
torvalds@...ux-foundation.org, johannes@...solutions.net
Subject: [tip:locking/core] tools/lib/lockdep: Add dummy
print_irqtrace_events() implementation
Commit-ID: ac862d9b2fd084b50ee7a332a35d8d8d3228ce09
Gitweb: https://git.kernel.org/tip/ac862d9b2fd084b50ee7a332a35d8d8d3228ce09
Author: Bart Van Assche <bvanassche@....org>
AuthorDate: Thu, 6 Dec 2018 17:11:30 -0800
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Tue, 11 Dec 2018 14:54:50 +0100
tools/lib/lockdep: Add dummy print_irqtrace_events() implementation
This patch avoids that linking against liblockdep fails due to no
print_irqtrace_events() definition being available.
Signed-off-by: Bart Van Assche <bvanassche@....org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Cc: Johannes Berg <johannes@...solutions.net>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Sasha Levin <sasha.levin@...cle.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Waiman Long <longman@...hat.com>
Cc: johannes.berg@...el.com
Cc: tj@...nel.org
Link: https://lkml.kernel.org/r/20181207011148.251812-7-bvanassche@acm.org
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
tools/lib/lockdep/lockdep.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tools/lib/lockdep/lockdep.c b/tools/lib/lockdep/lockdep.c
index 6002fcf2f9bc..348a9d0fb766 100644
--- a/tools/lib/lockdep/lockdep.c
+++ b/tools/lib/lockdep/lockdep.c
@@ -15,6 +15,11 @@ u32 prandom_u32(void)
abort();
}
+void print_irqtrace_events(struct task_struct *curr)
+{
+ abort();
+}
+
static struct new_utsname *init_utsname(void)
{
static struct new_utsname n = (struct new_utsname) {
Powered by blists - more mailing lists