summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-core.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2013-11-06 19:50:06 (GMT)
committerSteven Rostedt <rostedt@goodmis.org>2013-11-06 20:26:56 (GMT)
commit6fc84ea70eae478099c866ace022ecfdef998032 (patch)
tree705f3bffb3513b96de7c9563371676451318700e /drivers/i2c/i2c-core.c
parent042b10d83d05174e50ee861ee3aca55fd6204324 (diff)
downloadlinux-fsl-qoriq-6fc84ea70eae478099c866ace022ecfdef998032.tar.xz
tracing: Do not use signed enums with unsigned long long in fgragh output
The duration field of print_graph_duration() can also be used to do the space filling by passing an enum in it: DURATION_FILL_FULL DURATION_FILL_START DURATION_FILL_END The problem is that these are enums and defined as negative, but the duration field is unsigned long long. Most archs are fine with this but blackfin fails to compile because of it: kernel/built-in.o: In function `print_graph_duration': kernel/trace/trace_functions_graph.c:782: undefined reference to `__ucmpdi2' Overloading a unsigned long long with an signed enum is just bad in principle. We can accomplish the same thing by using part of the flags field instead. Cc: Mike Frysinger <vapier@gentoo.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/i2c/i2c-core.c')
0 files changed, 0 insertions, 0 deletions