From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atXSP-0005Wf-9j for qemu-devel@nongnu.org; Fri, 22 Apr 2016 05:33:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atXSM-0007YH-24 for qemu-devel@nongnu.org; Fri, 22 Apr 2016 05:33:01 -0400 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:38754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atXSL-0007YD-Rj for qemu-devel@nongnu.org; Fri, 22 Apr 2016 05:32:57 -0400 Received: by mail-wm0-x230.google.com with SMTP id u206so17534317wme.1 for ; Fri, 22 Apr 2016 02:32:57 -0700 (PDT) References: <1461107270-19234-1-git-send-email-cota@braap.org> <1461107270-19234-2-git-send-email-cota@braap.org> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <1461107270-19234-2-git-send-email-cota@braap.org> Date: Fri, 22 Apr 2016 10:32:55 +0100 Message-ID: <87potit2d4.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v3 01/11] 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" Cc: QEMU Developers , MTTCG Devel , Paolo Bonzini , Peter Crosthwaite , Richard Henderson , Peter Maydell , Sergey Fedorov Emilio G. Cota writes: > Reviewed-by: Richard Henderson > Signed-off-by: Emilio G. Cota Reviewed-by: Alex Bennée > --- > include/qemu/compiler.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/qemu/compiler.h b/include/qemu/compiler.h > index 8f1cc7b..1978ddc 100644 > --- a/include/qemu/compiler.h > +++ b/include/qemu/compiler.h > @@ -41,6 +41,8 @@ > # define QEMU_PACKED __attribute__((packed)) > #endif > > +#define QEMU_ALIGNED(B) __attribute__((aligned(B))) > + > #ifndef glue > #define xglue(x, y) x ## y > #define glue(x, y) xglue(x, y) -- Alex Bennée