Re: [PATCH v2 04/44] trace/ring_buffer: handle 64bit aligned structs
From: James Hogan <hidden>
Date: 2012-12-10 10:28:06
Also in:
lkml
From: James Hogan <hidden>
Date: 2012-12-10 10:28:06
Also in:
lkml
On 08/12/12 01:24, Steven Rostedt wrote:
On Wed, 2012-12-05 at 16:08 +0000, James Hogan wrote:quoted
Some 32 bit architectures have 64 bit struct alignment (for example Meta which has 64 bit read/write instructions). These require 8 byte alignment of event data too, so use CONFIG_HAVE_64BIT_ALIGNED_STRUCT instead of CONFIG_64BIT to decide alignment, and align buffer_data_page::data accordingly. Signed-off-by: James Hogan <redacted>Acked-by: Steven Rostedt <rostedt@goodmis.org>
Thanks Steven Cheers James