From patchwork Mon Jun 26 16:28:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 9810059 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 201FB60209 for ; Mon, 26 Jun 2017 16:31:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B179252D5 for ; Mon, 26 Jun 2017 16:31:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D26428550; Mon, 26 Jun 2017 16:31:35 +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 8C192252D5 for ; Mon, 26 Jun 2017 16:31:34 +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 1dPWt3-0005AH-2v; Mon, 26 Jun 2017 16:29:17 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPWt1-00059E-AS for xen-devel@lists.xenproject.org; Mon, 26 Jun 2017 16:29:15 +0000 Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id ED/92-23755-A5631595; Mon, 26 Jun 2017 16:29:14 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphkeJIrShJLcpLzFFi42JxWrrBXjfKLDD SYM9cVovvWyYzOTB6HP5whSWAMYo1My8pvyKBNeP9r+CCRs6KSbN+MTUwfmDvYuTkkBDwl9h8 bSoTiM0moCzxs7OXDcQWEdCTaDrwnBHEZhbIkzi7ehEriC0s4ClxcRNEL4uAqsTML11g9bwCZ hL/pjYwQ8yUl9jVdhGsnlPAXKJh9XQwWwioZldvHxuErSDRMf0YE0SvoMTJmU9YIHZJSBx88Y J5AiPvLCSpWUhSCxiZVjFqFKcWlaUW6Roa6yUVZaZnlOQmZuboGhoY6+WmFhcnpqfmJCYV6yX n525iBIYOAxDsYNy23fMQoyQHk5IoL8eTgEghvqT8lMqMxOKM+KLSnNTiQ4wyHBxKErzepoGR QoJFqempFWmZOcAghklLcPAoifB2aQKleYsLEnOLM9MhUqcYFaXEeW1A+gRAEhmleXBtsMi5x CgrJczLCHSIEE9BalFuZgmq/CtGcQ5GJWFeT5ApPJl5JXDTXwEtZgJazDIvAGRxSSJCSqqB0b GNRbPozDXdbq9GDeWJhyeZ/Og9c0vlajVThCvvh2DmlIANS4+bnJgZUdlhPGc709H1XaF7baN E5h2RbdhRInNT2Df+Q/fL461zX89RXfhoh8Elo7MTHn2R09U7/5zfu9mm8fPW7EaGH5WTf4U8 aerlYRNZqbOqv1RqrxznNZ9Tey+UZJ1gUGIpzkg01GIuKk4EAKmrzVuXAgAA X-Env-Sender: prvs=343741041=wei.liu2@citrix.com X-Msg-Ref: server-16.tower-31.messagelabs.com!1498494551!99840466!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.19; banners=-,-,- X-VirusChecked: Checked Received: (qmail 8480 invoked from network); 26 Jun 2017 16:29:13 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-16.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 26 Jun 2017 16:29:13 -0000 X-IronPort-AV: E=Sophos;i="5.39,396,1493683200"; d="scan'208";a="437865420" From: Wei Liu To: Xen-devel Date: Mon, 26 Jun 2017 17:28:34 +0100 Message-ID: <20170626162842.482-6-wei.liu2@citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170626162842.482-1-wei.liu2@citrix.com> References: <20170626162842.482-1-wei.liu2@citrix.com> MIME-Version: 1.0 Cc: Andrew Cooper , Wei Liu , Jan Beulich Subject: [Xen-devel] [PATCH v5 05/13] x86: remove the now empty x86_64/compat/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 Signed-off-by: Wei Liu Reviewed-by: Andrew Cooper --- xen/arch/x86/x86_64/compat/traps.c | 15 --------------- xen/arch/x86/x86_64/traps.c | 2 -- 2 files changed, 17 deletions(-) delete mode 100644 xen/arch/x86/x86_64/compat/traps.c diff --git a/xen/arch/x86/x86_64/compat/traps.c b/xen/arch/x86/x86_64/compat/traps.c deleted file mode 100644 index cade7f2923..0000000000 --- a/xen/arch/x86/x86_64/compat/traps.c +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include -#include - - -/* - * Local variables: - * mode: C - * c-file-style: "BSD" - * c-basic-offset: 4 - * tab-width: 4 - * indent-tabs-mode: nil - * End: - */ diff --git a/xen/arch/x86/x86_64/traps.c b/xen/arch/x86/x86_64/traps.c index 79bfc4d3f0..a15231ca0c 100644 --- a/xen/arch/x86/x86_64/traps.c +++ b/xen/arch/x86/x86_64/traps.c @@ -335,8 +335,6 @@ void subarch_percpu_traps_init(void) wrmsrl(MSR_SYSCALL_MASK, XEN_SYSCALL_MASK); } -#include "compat/traps.c" - void hypercall_page_initialise(struct domain *d, void *hypercall_page) { memset(hypercall_page, 0xCC, PAGE_SIZE);