]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
tracing: Fix anonymous unions in struct ftrace_event_call
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 9 Apr 2014 21:06:08 +0000 (17:06 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 10 Apr 2014 00:02:55 +0000 (20:02 -0400)
commitabb43f6998eb6466ea392d3757e673bbdb6ae171
tree068d361c31e1d9e7668c19dbe6324523eac718f9
parentb725dfea24b89de672c055b34b22398283a3f4bc
tracing: Fix anonymous unions in struct ftrace_event_call

gcc <= 4.5.x has significant limitations with respect to initialization
of anonymous unions within structures. They need to be surrounded by
brackets, _and_ they need to be initialized in the same order in which
they appear in the structure declaration.

Link: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676
Link: http://lkml.kernel.org/r/1397077568-3156-1-git-send-email-mathieu.desnoyers@efficios.com
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/syscalls.h
include/trace/ftrace.h
kernel/trace/trace_export.c