From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Wed, 18 Aug 2010 22:36:39 +0200 Subject: [U-Boot] [PATCH] Align linebuf to avoid misaligned aliases of it In-Reply-To: References: <1281773473-5697-1-git-send-email-albert.aribaud@free.fr> <4C6654C5.5010000@free.fr> <4C6BD6BE.6090909@free.fr> <4C6C1C62.9020609@free.fr> Message-ID: <4C6C4457.3070504@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 18/08/2010 19:54, Mike Frysinger a ?crit : > On Wed, Aug 18, 2010 at 1:46 PM, Albert ARIBAUD wrote: >> Le 18/08/2010 18:46, Mike Frysinger a ?crit : >>> you need to include linux/compiler.h first ... but i would have >>> thought this be a header already included globally. maybe that's a >>> new topic to start. >> >> I don't understand why I should introduce a dependency on linux. What is the >> benefit? > > u-boot already includes the header in the source tree, not to mention > the fact that this file is already including linux/ctype.h > -mike But absolutely no .h or .c file uses __aligned whereas __attribute__((__aligned__())) is used in several places, right? Amicalement, -- Albert.