From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Nq3-0007ai-8x for qemu-devel@nongnu.org; Fri, 27 May 2016 15:54:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6Npz-0005Il-5W for qemu-devel@nongnu.org; Fri, 27 May 2016 15:54:30 -0400 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:32776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Npx-0005IQ-RF for qemu-devel@nongnu.org; Fri, 27 May 2016 15:54:27 -0400 Received: by mail-lf0-x244.google.com with SMTP id w16so7216964lfd.0 for ; Fri, 27 May 2016 12:54:25 -0700 (PDT) References: <1464138802-23503-1-git-send-email-cota@braap.org> <1464138802-23503-2-git-send-email-cota@braap.org> From: Sergey Fedorov Message-ID: <5748A5EE.8000802@gmail.com> Date: Fri, 27 May 2016 22:54:23 +0300 MIME-Version: 1.0 In-Reply-To: <1464138802-23503-2-git-send-email-cota@braap.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v6 01/15] compiler.h: add QEMU_ALIGNED() to enforce struct alignment List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Emilio G. Cota" , QEMU Developers , MTTCG Devel Cc: =?UTF-8?Q?Alex_Benn=c3=a9e?= , Paolo Bonzini , Richard Henderson On 25/05/16 04:13, Emilio G. Cota wrote: > Reviewed-by: Richard Henderson > Reviewed-by: Alex Bennée > Signed-off-by: Emilio G. Cota Reviewed-by: Sergey Fedorov > --- > include/qemu/compiler.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/qemu/compiler.h b/include/qemu/compiler.h > index 8f1cc7b..b64f899 100644 > --- a/include/qemu/compiler.h > +++ b/include/qemu/compiler.h > @@ -41,6 +41,8 @@ > # define QEMU_PACKED __attribute__((packed)) > #endif > > +#define QEMU_ALIGNED(X) __attribute__((aligned(X))) > + > #ifndef glue > #define xglue(x, y) x ## y > #define glue(x, y) xglue(x, y)