Re: [PATCH v2 04/44] trace/ring_buffer: handle 64bit aligned structs

From: James Hogan
Date: Mon Dec 10 2012 - 05:27:53 EST


On 08/12/12 01:24, Steven Rostedt wrote:
> On Wed, 2012-12-05 at 16:08 +0000, James Hogan wrote:
>> 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 <james.hogan@xxxxxxxxxx>
>
> Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

Thanks Steven

Cheers
James

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/