summaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2020-05-27 13:03:26 +0200
committerPeter Zijlstra <peterz@infradead.org>2020-07-10 12:00:02 +0200
commitf9ad4a5f3f20bee022b1bdde94e5ece6dc0b0edc (patch)
treede3802d442a7b806ce81ffeff66eaac502977f7b /tools/include
parenta21ee6055c30ce68c4e201c6496f0ed2a1936230 (diff)
lockdep: Remove lockdep_hardirq{s_enabled,_context}() argument
Now that the macros use per-cpu data, we no longer need the argument. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Ingo Molnar <mingo@kernel.org> Link: https://lkml.kernel.org/r/20200623083721.571835311@infradead.org
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/linux/irqflags.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/include/linux/irqflags.h b/tools/include/linux/irqflags.h
index 67e01bbadbfe..501262aee8ff 100644
--- a/tools/include/linux/irqflags.h
+++ b/tools/include/linux/irqflags.h
@@ -2,9 +2,9 @@
#ifndef _LIBLOCKDEP_LINUX_TRACE_IRQFLAGS_H_
#define _LIBLOCKDEP_LINUX_TRACE_IRQFLAGS_H_
-# define lockdep_hardirq_context(p) 0
+# define lockdep_hardirq_context() 0
# define lockdep_softirq_context(p) 0
-# define lockdep_hardirqs_enabled(p) 0
+# define lockdep_hardirqs_enabled() 0
# define lockdep_softirqs_enabled(p) 0
# define lockdep_hardirq_enter() do { } while (0)
# define lockdep_hardirq_exit() do { } while (0)