summaryrefslogtreecommitdiff
path: root/sound/spi
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-10-19 10:32:13 +0200
committerJoel Fernandes <joelaf@google.com>2018-04-26 06:55:49 -0700
commit23eaecc37dfb0aa51cf131c32cb05784ef84d3be (patch)
tree606fc0e5be85d7a7ce09b5d597928476d6310169 /sound/spi
parent4c706fe2e4ae8c7196847fe0e88f2d937130dd3a (diff)
UPSTREAM: tracing: always define trace_{irq,preempt}_{enable_disable}
We get a build error in the irqsoff tracer in some configurations: kernel/trace/trace_irqsoff.c: In function 'trace_preempt_on': kernel/trace/trace_irqsoff.c:855:2: error: implicit declaration of function 'trace_preempt_enable_rcuidle'; did you mean 'trace_irq_enable_rcuidle'? [-Werror=implicit-function-declaration] trace_preempt_enable_rcuidle(a0, a1); The problem is that trace_preempt_enable_rcuidle() has different definition based on multiple Kconfig symbols, but not all combinations have a valid definition. This changes the conditions so that we always get exactly one definition of each of the four tracing macros. I have not tried to verify that these definitions are sensible, but now we can build all randconfig combinations again. Link: http://lkml.kernel.org/r/20171019083230.2450779-1-arnd@arndb.de Change-Id: I28715af208379e993df85c2fb35549290f4fbd6e Fixes: d59158162e03 ("tracing: Add support for preempt and irq enable/disable events") Acked-by: Joel Fernandes <joelaf@google.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'sound/spi')
0 files changed, 0 insertions, 0 deletions