summaryrefslogtreecommitdiff
path: root/kernel/pid_namespace.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-07-09 19:41:44 (GMT)
committerSteven Rostedt <rostedt@goodmis.org>2010-07-09 19:53:04 (GMT)
commit44a54f787c0abcf75a2ed49b8ec8b2b512468f73 (patch)
treedebbf5656caf6260aa4d6fc276dd043624527822 /kernel/pid_namespace.c
parent108553e1f3c45a92d23681a378ad9e4c3230eebc (diff)
downloadlinux-fsl-qoriq-44a54f787c0abcf75a2ed49b8ec8b2b512468f73.tar.xz
tracing: Add alignment to syscall metadata declarations
For some reason if we declare a static variable and then assign it later, and the assignment contains a __attribute__((__aligned__(#))), some versions of gcc will ignore it. This caused the syscall meta data to not be compact in its section and caused a kernel oops when the section was being read. The fix for these versions of gcc seems to be to add the aligned attribute to the declaration as well. This fixes the BZ regression: https://bugzilla.kernel.org/show_bug.cgi?id=16353 Reported-by: Zeev Tarantov <zeev.tarantov@gmail.com> Tested-by: Zeev Tarantov <zeev.tarantov@gmail.com> Acked-by: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <AANLkTinkKVmB0fpVeqUkMeqe3ZYeXJdI8xDuzJEOjYwh@mail.gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/pid_namespace.c')
0 files changed, 0 insertions, 0 deletions