From: Steven Rostedt Date: Fri, 9 Jul 2010 19:41:44 +0000 (-0400) Subject: tracing: Add alignment to syscall metadata declarations X-Git-Tag: v2.6.35-rc6~36^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44a54f787c0abcf75a2ed49b8ec8b2b512468f73;p=pandora-kernel.git 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 Tested-by: Zeev Tarantov Acked-by: Frederic Weisbecker LKML-Reference: Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed