Message ID | 1465568813-19771-2-git-send-email-rth@twiddle.net |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rR4RQ2796z9s5M for <incoming@patchwork.ozlabs.org>; Sat, 11 Jun 2016 00:33:38 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=BH89UUCr; dkim-atps=neutral Received: from localhost ([::1]:41433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1bBNVA-00013m-6k for incoming@patchwork.ozlabs.org; Fri, 10 Jun 2016 10:33:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <rth7680@gmail.com>) id 1bBNOn-0003eU-TO for qemu-devel@nongnu.org; Fri, 10 Jun 2016 10:27:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rth7680@gmail.com>) id 1bBNOi-0005fT-M0 for qemu-devel@nongnu.org; Fri, 10 Jun 2016 10:27:00 -0400 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:36011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rth7680@gmail.com>) id 1bBNOi-0005fH-FF for qemu-devel@nongnu.org; Fri, 10 Jun 2016 10:26:56 -0400 Received: by mail-pf0-x242.google.com with SMTP id 62so5247994pfd.3 for <qemu-devel@nongnu.org>; Fri, 10 Jun 2016 07:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8aCSXzRNZqTY1ifBi25+p/dtiqzqPmNI8+5e9shXScU=; b=BH89UUCrAmL1Jot6hmRnbQtywJk83EvY/OmxCiPOOxodhXTlhDYEdRw5P4af1ZgP68 83iwVPul+JS2v1IPHPaL1aVTJvJ27JnyU6hm3Aeg4YQ0i/iUhC5rx0QinoGNkJYoBJB6 1s1Nc/obysUfT2/Jn0+5oMyg7Vu7fWtu1jfq2n8aZIfc42I2tgyr9meHa5Yzd9+qUIga uAARURs+BJNTFi6lWTGidIm78Ok5FmRr/BWwvbdFHBbnl6TWVyxo90WP3E5JtbQChfR6 8kp+pOZT9EyBkKaKvfJdhqy5WkOoLVT+RilFoSWW9gONtQb6gc2LGvqYSg6HAlRu43Ss j27A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=8aCSXzRNZqTY1ifBi25+p/dtiqzqPmNI8+5e9shXScU=; b=dV1YEuSBWP7tAiTnBzPXCfnmatmdG/STD0ytEInZ3ff3+g7zE+YeCkd0x1e2A3MRG+ lWqw5a8Wpwi6Xjrh838wLzlAOtHcPw+WOrBmz3O3VUR8UwuZBEQ8J4sDvBYmmMvUidGc xD3hMpKbg97NLndlrkh7HmE7gWRUmjBzVGBCjd4SNPYKNptt0EfSL75mnP03kdaRpVPe M68Y9vSY3tFNh4JjX/TiQNs/o7+HQ2uSlQScCtYeRBJJO0efO50XvQ9bXCzFiW79AKPd MMvfh+G4rW3RgbcEPszKS2trjPzP3SHd4wjJdohRHywEimmOc+yoF52FEcG1CRF33j2+ F65w== X-Gm-Message-State: ALyK8tIEfQICoAMjxBkFqB8ddd5C/soba+Ib2wgdvYCxRkrg9DMcWjQWwQ5f4s2gBoSGgg== X-Received: by 10.98.100.83 with SMTP id y80mr2650061pfb.84.1465568815707; Fri, 10 Jun 2016 07:26:55 -0700 (PDT) Received: from anchor.twiddle.net (71-37-54-227.tukw.qwest.net. [71.37.54.227]) by smtp.gmail.com with ESMTPSA id vy8sm18227219pab.22.2016.06.10.07.26.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Jun 2016 07:26:55 -0700 (PDT) From: Richard Henderson <rth@twiddle.net> To: qemu-devel@nongnu.org Date: Fri, 10 Jun 2016 07:26:39 -0700 Message-Id: <1465568813-19771-2-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1465568813-19771-1-git-send-email-rth@twiddle.net> References: <1465568813-19771-1-git-send-email-rth@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::242 Subject: [Qemu-devel] [PULL 01/15] compiler.h: add QEMU_ALIGNED() to enforce struct alignment X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org, "Emilio G. Cota" <cota@braap.org> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
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)