From patchwork Thu Apr 6 17:14:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 9667947 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 0EFD36021C for ; Thu, 6 Apr 2017 17:17:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B368C28307 for ; Thu, 6 Apr 2017 17:17:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A82122832D; Thu, 6 Apr 2017 17:17:41 +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 CE401285B2 for ; Thu, 6 Apr 2017 17:17:40 +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 1cwAzd-0003Je-Qk; Thu, 06 Apr 2017 17:14:45 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwAzc-0003IM-FU for xen-devel@lists.xenproject.org; Thu, 06 Apr 2017 17:14:44 +0000 Received: from [85.158.143.35] by server-4.bemta-6.messagelabs.com id 37/BB-03012-38776E85; Thu, 06 Apr 2017 17:14:43 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmplkeJIrShJLcpLzFFi42JxWrohUre5/Fm Ewed94hbft0xmcmD0OPzhCksAYxRrZl5SfkUCa8bqz78YC67zV/y4/5mpgfEYdxcjJ4eEgL/E jTktjCA2m4CyxM/OXjYQW0RAT6LpwHOwOLNAnsTZ1YtYQWxhAQeJnp4XYHEWARWJPQ+bwWxeA QuJV81LWSFmykvsarsIZnMKWEpMaj3CDGILAdW82/+cDcJWkOiYfowJoldQ4uTMJywQuyQkDr 54wTyBkXcWktQsJKkFjEyrGDWKU4vKUot0jQ31kooy0zNKchMzc3QNDcz0clOLixPTU3MSk4r 1kvNzNzECg4cBCHYwNi0KPMQoycGkJMqr4PMkQogvKT+lMiOxOCO+qDQntfgQowwHh5IEb2TZ swghwaLU9NSKtMwcYBjDpCU4eJREeOtA0rzFBYm5xZnpEKlTjIpS4rxBIAkBkERGaR5cGyx2L jHKSgnzMgIdIsRTkFqUm1mCKv+KUZyDUUmY9xzIFJ7MvBK46a+AFjMBLfa59RRkcUkiQkqqgX HpD+X46U6xNx1ji7QyMhjutlb2mPi8e9U68/778/dTtGJCtVi9/zTJXZLMeOjuNZv/j3Sj9Fm XT3ctd97T/c+7Tn3C1nv39Pkn//9+NydfYms+S/PhnQXb51rXBTzes1xaPaN7zl3eIuNTCzfI LKuKWsUiNa93pfzGmXzXfsrtD3q90fbMoqNKLMUZiYZazEXFiQC6LWPJmAIAAA== X-Env-Sender: prvs=262b22d93=wei.liu2@citrix.com X-Msg-Ref: server-12.tower-21.messagelabs.com!1491498879!62602899!3 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.12; banners=-,-,- X-VirusChecked: Checked Received: (qmail 41049 invoked from network); 6 Apr 2017 17:14:43 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-12.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 6 Apr 2017 17:14:43 -0000 X-IronPort-AV: E=Sophos;i="5.37,160,1488844800"; d="scan'208";a="417765092" From: Wei Liu To: Xen-devel Date: Thu, 6 Apr 2017 18:14:33 +0100 Message-ID: <20170406171434.15484-7-wei.liu2@citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170406171434.15484-1-wei.liu2@citrix.com> References: <20170406171434.15484-1-wei.liu2@citrix.com> MIME-Version: 1.0 Cc: Andrew Cooper , Wei Liu , Jan Beulich Subject: [Xen-devel] [PATCH for-next 6/7] x86: s/bool_t/bool/g in pv/traps.c 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 No functional change. Signed-off-by: Wei Liu Acked-by: Jan Beulich --- xen/arch/x86/pv/traps.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xen/arch/x86/pv/traps.c b/xen/arch/x86/pv/traps.c index 0f09d858f6..64f2ffbd69 100644 --- a/xen/arch/x86/pv/traps.c +++ b/xen/arch/x86/pv/traps.c @@ -373,7 +373,7 @@ static int read_descriptor(unsigned int sel, unsigned long *base, unsigned long *limit, unsigned int *ar, - bool_t insn_fetch) + bool insn_fetch) { struct desc_struct desc; @@ -640,7 +640,7 @@ static int priv_op_read_segment(enum x86_segment seg, } /* Perform IOPL check between the vcpu's shadowed IOPL, and the assumed cpl. */ -static bool_t iopl_ok(const struct vcpu *v, const struct cpu_user_regs *regs) +static bool iopl_ok(const struct vcpu *v, const struct cpu_user_regs *regs) { unsigned int cpl = guest_kernel_mode(v, regs) ? (VM_ASSIST(v->domain, architectural_iopl) ? 0 : 1) : 3; @@ -690,8 +690,8 @@ static int guest_io_okay( } /* Has the administrator granted sufficient permission for this I/O access? */ -static bool_t admin_io_okay(unsigned int port, unsigned int bytes, - const struct domain *d) +static bool admin_io_okay(unsigned int port, unsigned int bytes, + const struct domain *d) { /* * Port 0xcf8 (CONFIG_ADDRESS) is only visible for DWORD accesses. @@ -707,8 +707,8 @@ static bool_t admin_io_okay(unsigned int port, unsigned int bytes, return ioports_access_permitted(d, port, port + bytes - 1); } -static bool_t pci_cfg_ok(struct domain *currd, unsigned int start, - unsigned int size, uint32_t *write) +static bool pci_cfg_ok(struct domain *currd, unsigned int start, + unsigned int size, uint32_t *write) { uint32_t machine_bdf;