diff options
author | Andi Kleen <ak@linux.intel.com> | 2014-02-08 08:52:02 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2014-02-13 18:13:07 -0800 |
commit | b35f8305339f1ba3070fe606c6ef0d86ef093dee (patch) | |
tree | ea979adc63e516c6ba83cc359ecf53e59cc86757 /kernel/locking/lockdep.c | |
parent | 63f9a7fde715352e0769302527670542a664b981 (diff) | |
download | linux-stable-b35f8305339f1ba3070fe606c6ef0d86ef093dee.tar.gz linux-stable-b35f8305339f1ba3070fe606c6ef0d86ef093dee.tar.bz2 linux-stable-b35f8305339f1ba3070fe606c6ef0d86ef093dee.zip |
asmlinkage: Make trace_hardirq visible
Can be called from assembler code.
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1391845930-28580-6-git-send-email-ak@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'kernel/locking/lockdep.c')
-rw-r--r-- | kernel/locking/lockdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index c8b6753c5bb1..aa3bf153b718 100644 --- a/kernel/locking/lockdep.c +++ b/kernel/locking/lockdep.c @@ -2557,7 +2557,7 @@ static void __trace_hardirqs_on_caller(unsigned long ip) debug_atomic_inc(hardirqs_on_events); } -void trace_hardirqs_on_caller(unsigned long ip) +__visible void trace_hardirqs_on_caller(unsigned long ip) { time_hardirqs_on(CALLER_ADDR0, ip); @@ -2610,7 +2610,7 @@ EXPORT_SYMBOL(trace_hardirqs_on); /* * Hardirqs were disabled: */ -void trace_hardirqs_off_caller(unsigned long ip) +__visible void trace_hardirqs_off_caller(unsigned long ip) { struct task_struct *curr = current; |