diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2018-12-06 20:11:30 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2018-12-11 08:54:50 -0500 |
| commit | ac862d9b2fd084b50ee7a332a35d8d8d3228ce09 (patch) | |
| tree | a85cc7d12967995da95779fd1c0ff80af0723582 | |
| parent | 7f3c7952d111ac93573fb86f4d5aeff527a07fcc (diff) | |
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@acm.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Waiman Long <longman@redhat.com>
Cc: johannes.berg@intel.com
Cc: tj@kernel.org
Link: https://lkml.kernel.org/r/20181207011148.251812-7-bvanassche@acm.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
| -rw-r--r-- | tools/lib/lockdep/lockdep.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) | |||
| 15 | abort(); | 15 | abort(); |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | void print_irqtrace_events(struct task_struct *curr) | ||
| 19 | { | ||
| 20 | abort(); | ||
| 21 | } | ||
| 22 | |||
| 18 | static struct new_utsname *init_utsname(void) | 23 | static struct new_utsname *init_utsname(void) |
| 19 | { | 24 | { |
| 20 | static struct new_utsname n = (struct new_utsname) { | 25 | static struct new_utsname n = (struct new_utsname) { |
