From patchwork Fri Aug 11 18:02:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 9896399 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3A803602DA for ; Fri, 11 Aug 2017 18:05:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A50928C85 for ; Fri, 11 Aug 2017 18:05:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1DD3128C8F; Fri, 11 Aug 2017 18:05:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 55B0628C85 for ; Fri, 11 Aug 2017 18:05:42 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgEH8-0002Y9-JP; Fri, 11 Aug 2017 18:03:10 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgEH6-0002Xm-ST for xen-devel@lists.xen.org; Fri, 11 Aug 2017 18:03:08 +0000 Received: from [85.158.137.68] by server-3.bemta-3.messagelabs.com id D6/C9-01987-C51FD895; Fri, 11 Aug 2017 18:03:08 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrOIsWRWlGSWpSXmKPExsVysyfVTTf6Y2+ kwdmnMhZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa0bXpnmsBXc4K7Zv+cPYwDiTo4uRi0NIYDOj xIWe7UxdjJxAzmlGic9b2UFsNgFNiTufP4HFRQSkJa59vswI0sAs8IFJYuGTJ2AJYQFPibn9L WA2i4CqxMNfnaxdjBwcvAIWEisn+4CEJQTkJXa1XQQLcwpYSsy5LAuxykJi+791bCA2r4CgxM mZT1hASpgF1CXWzxMCCTMDdTZvnc08gZFvFpKqWQhVs5BULWBkXsWoUZxaVJZapGtoopdUlJm eUZKbmJmja2hgrJebWlycmJ6ak5hUrJecn7uJERhoDECwg3HFds9DjJIcTEqivAk+vZFCfEn5 KZUZicUZ8UWlOanFhxhlODiUJHifvAfKCRalpqdWpGXmAEMeJi3BwaMkwivxASjNW1yQmFucm Q6ROsWoy/Fqwv9vTEIsefl5qVLivDNBZgiAFGWU5sGNgMXfJUZZKWFeRqCjhHgKUotyM0tQ5V 8xinMwKgnz3gaZwpOZVwK36RXQEUxAR/T5gB1RkoiQkmpg3Gty0sLizpbGd+IXNQ0WX4tYyLu R55NLv/zWtUr77e4lPWBo1vm6be6hf/f2z5pZZO24zleXf2/V3e/ms7sNPG/lzT6+zfaAxt+E nf5bC72T/0049O7BrJLFd36pmazLl/gfvdakuOZUsndQGpezr0Pj6x9CDQFODvohM1hST9lvm t6xfFm5jhJLcUaioRZzUXEiAJ+/0Fe6AgAA X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-10.tower-31.messagelabs.com!1502474586!108955581!1 X-Originating-IP: [217.140.101.70] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 1652 invoked from network); 11 Aug 2017 18:03:07 -0000 Received: from usa-sjc-mx-foss1.foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-10.tower-31.messagelabs.com with SMTP; 11 Aug 2017 18:03:07 -0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A951415AD; Fri, 11 Aug 2017 11:03:06 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.206.53]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id AEE3E3F577; Fri, 11 Aug 2017 11:03:04 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Fri, 11 Aug 2017 19:02:47 +0100 Message-Id: <20170811180257.5493-2-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170811180257.5493-1-julien.grall@arm.com> References: <20170811180257.5493-1-julien.grall@arm.com> MIME-Version: 1.0 Cc: sstabellini@kernel.org, Wei Liu , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Julien Grall , Jan Beulich , bhupinder.thakur@linaro.org Subject: [Xen-devel] [PATCH 01/11] xen/grant_table: Include mm.h in xen/grant_table.h X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP While re-ordering the include alphabetically in arch/arm/domain.c, I got a complitation error because grant_table.h is using gfn_t before been defined: In file included from domain.c:14:0: xen/xen/include/xen/grant_table.h:153:29: error: unknown type name ‘gfn_t’ gfn_t *gfn, uint16_t *status); ^ Fix it by including xen/mm.h in it. Signed-off-by: Julien Grall Acked-by: Jan Beulich Acked-by: Wei Liu --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabellini Cc: Tim Deegan Cc: Wei Liu --- xen/include/xen/grant_table.h | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/include/xen/grant_table.h b/xen/include/xen/grant_table.h index 4e7789968c..7913facf9f 100644 --- a/xen/include/xen/grant_table.h +++ b/xen/include/xen/grant_table.h @@ -23,6 +23,7 @@ #ifndef __XEN_GRANT_TABLE_H__ #define __XEN_GRANT_TABLE_H__ +#include #include #include #include