Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3765197ybb; Mon, 6 Apr 2020 15:27:33 -0700 (PDT) X-Google-Smtp-Source: APiQypKjPu59K85NLEfnf5NTT4PYwTs3qD0L0BRANadG5Sj8EHSCR0k50hR/SDB+CaW99n5dx5k0 X-Received: by 2002:a9d:2056:: with SMTP id n80mr20319161ota.281.1586212053599; Mon, 06 Apr 2020 15:27:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586212053; cv=none; d=google.com; s=arc-20160816; b=wBxv9mURtatGL8YD2pzd+MFpZb1lbbKbtaoS5l6ai/rgiU38EGHVcUeOy9NWoqwZDd IH/xsCCSUIpxCcZxqhWVU+aCJAFoDC6yDhzAkSJUpDv8W+vhE7Ao31RV5P0mzzEONGDj Wecj0n74i0M4CNEMn0oD454xYVn2JLRwdq8TG93ISn8k4mS+PJSjxftcQ9RXXlrwJJ5J 0SNcP8+6JD+IhBF6iptPkSXURZm4dWYBdCvMljfCB6xe3sLTjL4YWd/oK3b4GLC/1ArK cO65SLFIoQcXhrOX7eUmUSCAie+jNbLAVBrOW/njlP1Bz8o1qeE/Wo/4WxLx7OVnO/ln HnqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=RVzro4XtEZaLbEft7JeQy81ssJHBlnUXRCePrLVPDZg=; b=symZs122Q6csQyOM6xts+UNQ9IEh7lDe2pRS7oMfvAg9lMd79+tunu1UqUId9yGcJn Mtm+ai3vUoYRfl19oPWrQyVB3ChLNfHvsy9q4x/9jrcD/N1RgwE9ANH+m+gUk2vQcKbU JUyKy2aFWIAjo8EOTCdCQmFfHNORjD3/Vj6dkEwiw1Dt1Ox7YNuhVCictAPmoDGHCMMe L2ICWVLCj509AjkAzNZ7kgt4ka5kNPkEXYQARa+5+1Pl/H078i7a0WoWac2ExAbIc8VV pTbR+gIqiYM6QEdAC5bFDW5KwZtZDKQo/f+lHwuDyPJnFazyXUtK9YzcE3JtdiVitVLc oHnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Lt4cTXqG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t2si7804821oih.136.2020.04.06.15.27.22; Mon, 06 Apr 2020 15:27:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Lt4cTXqG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726353AbgDFW0h (ORCPT + 99 others); Mon, 6 Apr 2020 18:26:37 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:39123 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726287AbgDFW0f (ORCPT ); Mon, 6 Apr 2020 18:26:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586211994; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RVzro4XtEZaLbEft7JeQy81ssJHBlnUXRCePrLVPDZg=; b=Lt4cTXqGJD1kXdNw9+jUR0FlOsvLVnP7UyFwtSaVic8jtVvZMSc15EuGcDPSakbrzWUuRj 6rnMqM59l4RRjwRXCD3FX8cfcETEHR2+/JHemwmIFeHyHUx5e6Zd7os6RqPginVizFc2sr R1WpIe6AYli4aJJLs/7wu8MkWNzT0yE= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-212-hEhSgSXOMJyrUVXk7cdbUw-1; Mon, 06 Apr 2020 18:26:33 -0400 X-MC-Unique: hEhSgSXOMJyrUVXk7cdbUw-1 Received: by mail-wr1-f70.google.com with SMTP id q9so625268wrw.22 for ; Mon, 06 Apr 2020 15:26:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=RVzro4XtEZaLbEft7JeQy81ssJHBlnUXRCePrLVPDZg=; b=UhEAr6MlZqCYy5EtfV4EeRz4BJkaZwrujTMjpYZZ7k85b+MoMhp9oE1Byyl8ISEJGf QJ+/SQsZ/O8uvBKWhQmUTe7WbyHhshB6v4QGgeYEitadoCXQ4Xqs27jNN3w/v9bzggqb 1WTqOvrMfq7vFcPG+D9HENYPgn4/OjSHCU2zFABuP7rBa5IQX/1BVlihfZyOslzLSlOD qTo5PYUEUGt95+7eCOK5MikrzPcwDrwgn6XqnRSh8iD1KDPQTY7ODj9LwWtqkdJTGjvG cZxuZ15r8jKi8lsE9Wx5pyyGWVqtrIQTezLRGxp5bfCA4G0ivn+0v2mw6kEKzI0mpL0H S+EQ== X-Gm-Message-State: AGi0PuYbZIxeLAsI/mj1pkqIjMEivSW16sVSAX/yRZLDwYIVeseJf7Qu vH0lFGp8zz6C/CbeZ/qARMXIJQcuZuYctxB9NB0VzDL4sKBOewttWiXc5AUIoyULio146yatwjP OdITBEAMylMWbLVywKg5dQgBX X-Received: by 2002:adf:fa4f:: with SMTP id y15mr1629332wrr.118.1586211991694; Mon, 06 Apr 2020 15:26:31 -0700 (PDT) X-Received: by 2002:adf:fa4f:: with SMTP id y15mr1629315wrr.118.1586211991504; Mon, 06 Apr 2020 15:26:31 -0700 (PDT) Received: from redhat.com (bzq-79-176-51-222.red.bezeqint.net. [79.176.51.222]) by smtp.gmail.com with ESMTPSA id a80sm1183801wme.37.2020.04.06.15.26.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Apr 2020 15:26:31 -0700 (PDT) Date: Mon, 6 Apr 2020 18:26:29 -0400 From: "Michael S. Tsirkin" To: linux-kernel@vger.kernel.org Cc: Jason Wang , virtualization@lists.linux-foundation.org Subject: [PATCH v6 01/12] tools/virtio: define aligned attribute Message-ID: <20200406222507.281867-2-mst@redhat.com> References: <20200406222507.281867-1-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200406222507.281867-1-mst@redhat.com> X-Mailer: git-send-email 2.24.1.751.gd10ce2899c X-Mutt-Fcc: =sent Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Michael S. Tsirkin --- tools/virtio/linux/compiler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/virtio/linux/compiler.h b/tools/virtio/linux/compiler.h index 903dc9c4bd11..2c51bccb97bb 100644 --- a/tools/virtio/linux/compiler.h +++ b/tools/virtio/linux/compiler.h @@ -7,4 +7,5 @@ #define READ_ONCE(var) (*((volatile typeof(var) *)(&(var)))) +#define __aligned(x) __attribute((__aligned__(x))) #endif -- MST