From patchwork Thu Jan 19 05:24:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Douglas Goldstein X-Patchwork-Id: 9525175 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 6C54E60459 for ; Thu, 19 Jan 2017 05:26:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5EEED28652 for ; Thu, 19 Jan 2017 05:26:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 538312865A; Thu, 19 Jan 2017 05:26:50 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID 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 A120728659 for ; Thu, 19 Jan 2017 05:26:49 +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 1cU5Cz-000407-PJ; Thu, 19 Jan 2017 05:24:25 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cU5Cy-0003zL-Rx for xen-devel@lists.xen.org; Thu, 19 Jan 2017 05:24:24 +0000 Received: from [85.158.143.35] by server-10.bemta-6.messagelabs.com id 7E/23-13192-88D40885; Thu, 19 Jan 2017 05:24:24 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHIsWRWlGSWpSXmKPExsVyMfTqQd1234Y Ig/8tKhZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa8ajAzwFzzgrdj09zNrAeJmji5GLQ0hgEqPE 8V+fGUEcFoH9zBKzHrWygDgSAstYJaZf383cxcgJ5MRI9PVPZISwKyTuLbrNCmILCShI/J5wi Ali1HImiQfvp4I1sAloSDz5NYMNxBYRkJa49vkyWDOzQInEteYZLCC2sICHxJ7bW8EGsQioSl y6e4cJxOYViJM49uwsK8QyeYmF54+AxTkFUiU2bVrIDrE4ReLAzFfsuMQnMAotYGRYxahRnFp Ullqka2yol1SUmZ5RkpuYmaNraGCml5taXJyYnpqTmFSsl5yfu4kRGIoMQLCDsWlR4CFGSQ4m JVFee8uGCCG+pPyUyozE4oz4otKc1OJDjDIcHEoSvA0+QDnBotT01Iq0zBxgVMCkJTh4lER4z 4CkeYsLEnOLM9MhUqcYjTl6uk6/ZOLYs+vySyYhlrz8vFQpcV5LkFIBkNKM0jy4QbBovcQoKy XMywh0mhBPQWpRbmYJqvwrRnEORiVh3kkgU3gy80rg9r0COoUJ6BQr5XqQU0oSEVJSDYx+QqF qPx5M8csw/5WoxXJm0+6bBgpCblt++M1mnneg1LRa4CVvgeEp/+15XztOlWuUS6kv+Lzd0MPb SaonOOR1jg7vsqQ2J/OQbul8FYPPdem5On6hPCpv/18QcWb/Ha0h1M4Y42mnxGh/9F8Bg/q6O CfJR5I8+aX9Bz+Gy7+W2xt318dKiaU4I9FQi7moOBEAMCL7uNECAAA= X-Env-Sender: cardoe@cardoe.com X-Msg-Ref: server-14.tower-21.messagelabs.com!1484803462!47623171!1 X-Originating-IP: [209.85.213.193] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.1.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 20524 invoked from network); 19 Jan 2017 05:24:23 -0000 Received: from mail-yb0-f193.google.com (HELO mail-yb0-f193.google.com) (209.85.213.193) by server-14.tower-21.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 19 Jan 2017 05:24:23 -0000 Received: by mail-yb0-f193.google.com with SMTP id w194so1402407ybe.1 for ; Wed, 18 Jan 2017 21:24:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cardoe.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=kW4fjgRTX1jK6xlNRFxVRcytFTTMcWoILIC4xYsZZ6M=; b=gEj2apBGk5wCh+AYYKI0dXkDs/5LH8QdaSF5vIo9W1DH2R7n/fUss0fnjiISTvUz0Q 2FRPifMaZ+hzplGZ9UDmhLJGH1fpDKDbC6de8xiimMPe12aGHWUb4gRFLSb1KTRb1Unm kg78cHjYnCKR6pNn1Hb7aK0NZm4FUtVU0Aqqw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=kW4fjgRTX1jK6xlNRFxVRcytFTTMcWoILIC4xYsZZ6M=; b=g9u4KvgdHWW81LBiDPfET9897a/x4iDZaq4lpIPMvaFznzeicC1fMlpvYlCrCMMdow 6tCfYX7X/ljLzvBD8/ByR1RLlFHqEk9UT7h5pBqAOMolrgjP/zwjuiyr9QgwDaPypxnV mv7FQeeokfhQOBQ0JqXyp8PjG1wf6I6PKHp+IQcFB2tsa4WyDp/ofARgAFQR9gPD/WKb bGIINRo/wjgDoOhIbi7+9OmJnsSYkNPxGyH5FRs6/0KUHkchbnrL2Z6s2scZDdQ/qWfm gPY5SfwMwPgq8U1Dcuu3UPGNNI1RFY8PY0bHDSeRpYEDz6X4McrtFeQ7NG48mKppCFbi I4yw== X-Gm-Message-State: AIkVDXKxHx8weXKEt6/tqUu7arTFMpuZeCccbngZhtSoSvp1Os/3u4LHI4YveMDS1y9EbA== X-Received: by 10.37.101.215 with SMTP id z206mr145707ybb.5.1484803462223; Wed, 18 Jan 2017 21:24:22 -0800 (PST) Received: from swanson.attlocal.net (104-179-196-18.lightspeed.brhmal.sbcglobal.net. [104.179.196.18]) by smtp.gmail.com with ESMTPSA id a3sm1281164ywe.55.2017.01.18.21.24.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Jan 2017 21:24:21 -0800 (PST) From: Doug Goldstein To: xen-devel@lists.xen.org Date: Wed, 18 Jan 2017 23:24:04 -0600 Message-Id: X-Mailer: git-send-email 2.10.2 In-Reply-To: References: In-Reply-To: References: Cc: Andrew Cooper , Doug Goldstein , Jan Beulich Subject: [Xen-devel] [PATCH v2 2/3] x86/mtrr: drop unused func prototypes and struct 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: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP These weren't used so drop them. Signed-off-by: Doug Goldstein Reviewed-by: Jan Beulich --- Retained R-b from <57B481840200007800106B2E@prv-mh.provo.novell.com> --- xen/arch/x86/cpu/mtrr/mtrr.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/xen/arch/x86/cpu/mtrr/mtrr.h b/xen/arch/x86/cpu/mtrr/mtrr.h index ec168f9..bb57def 100644 --- a/xen/arch/x86/cpu/mtrr/mtrr.h +++ b/xen/arch/x86/cpu/mtrr/mtrr.h @@ -31,18 +31,6 @@ extern int generic_validate_add_page(unsigned long base, unsigned long size, extern const struct mtrr_ops generic_mtrr_ops; -/* library functions for processor-specific routines */ -struct set_mtrr_context { - unsigned long flags; - unsigned long cr4val; - uint64_t deftype; - u32 ccr3; -}; - -void set_mtrr_done(struct set_mtrr_context *ctxt); -void set_mtrr_cache_disable(struct set_mtrr_context *ctxt); -void set_mtrr_prepare_save(struct set_mtrr_context *ctxt); - void get_mtrr_state(void); extern void set_mtrr_ops(const struct mtrr_ops *); @@ -56,6 +44,3 @@ extern const struct mtrr_ops *mtrr_if; extern unsigned int num_var_ranges; void mtrr_state_warn(void); - -extern int amd_init_mtrr(void); -extern int cyrix_init_mtrr(void);