summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/eeh.h
diff options
context:
space:
mode:
authorDenis Kirjanov <kda@linux-powerpc.org>2015-12-14 23:18:06 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2016-02-15 21:10:03 +1100
commit126df08c52375817c237f38c3bcd01d78a60c090 (patch)
treed963e39a429eda7aa9de95e0084e6333432527a7 /arch/powerpc/include/asm/eeh.h
parentf15838e9cac8f78f0cc506529bb9d3b9fa589c1f (diff)
powerpc/pseries: Don't trace hcalls on offline CPUs
If a cpu is hotplugged while the hcall trace points are active, it's possible to hit a warning from RCU due to the trace points calling into RCU from an offline cpu, eg: RCU used illegally from offline CPU! rcu_scheduler_active = 1, debug_locks = 1 Make the hypervisor tracepoints conditional by using TRACE_EVENT_FN_COND. Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/eeh.h')
0 files changed, 0 insertions, 0 deletions