Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3832032ybz; Mon, 4 May 2020 10:30:46 -0700 (PDT) X-Google-Smtp-Source: APiQypINB+y7DGbijTRwBCOgr79bJyd245Il/ub2Xjab2B0/Lbzn+hD2sQ+fwI3sErV8E0Htcwr4 X-Received: by 2002:aa7:d4c1:: with SMTP id t1mr16153853edr.175.1588613445996; Mon, 04 May 2020 10:30:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588613445; cv=none; d=google.com; s=arc-20160816; b=VVqBHoz00Xhcrw0j/KcWq0MLpD0I2jYnbpJNgVF70ajXe9C/8F+th0ZxkVdVPgDI+O aLDPIlcE4Tm7FWjuXT+dcdZcmJo5g4ZI0wmkBT+xGTM3XqvHkn+tDa40R0vHq2Ue0L0e IViG+1xUNh1lP0Gll3pbInvXTjzZBHd8vj04AZJxS7Q1Bf3dk4sEQXPiE5KyQv1DcqxE iyVQOSf989xx2gwlRxJpPz2WlzzbI3QsclCkuHQm9OJjqtNmoVZu3sXyiShjkVSqkn16 nBH/SXQClU6c7rmeTfg9HIl22ar0+NpuX3851VC96DoAUOWzkvrNjcB1E+ybYxhCHQ2b qafA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1LTa3+KheQ5v1ObwivcHllaOHb1LlbllYguCQhIzs40=; b=qkbfLeuxC9OGMSX+VwQX1CGQOuwkOR0FbPan8r1MKAp/mpM4GZvsRkbtIUE6j7Nhhi tP9zooJaXj9XSLUma5PEWZb0A4GOh/FiyH+fNwNDOI6enPnHYIsw3wP3AzUspwQZaoWR P7XL63k7b7qMtH3QwL39XNYExtkiaQnsd84f9hKsRXTjiLd0ExoZIfEXLaRlrNrNEDFq 1ceC1wEx7/4cHC9NNA1iaM7bSqd0C98zRJSSoNWy7X0O2zmdnyyLTZzb3PDInTAY0jea UNp6ZRB8CHMlZr7e24cwjWR0O4kMiRfqstiJC6PmpEVHmcXVpW1+CGnRQ4M9g8MVMkq+ MBhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=blhPcHYL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i3si6598376edy.312.2020.05.04.10.30.22; Mon, 04 May 2020 10:30:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=blhPcHYL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730115AbgEDR0f (ORCPT + 99 others); Mon, 4 May 2020 13:26:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729896AbgEDR0f (ORCPT ); Mon, 4 May 2020 13:26:35 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59495C061A0E for ; Mon, 4 May 2020 10:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=1LTa3+KheQ5v1ObwivcHllaOHb1LlbllYguCQhIzs40=; b=blhPcHYL04vlWWEZqgtWh1cCVm 7f5FZUTBaX2XlwjygqrDkbbVgc9FU/SOKpUR+fkbp9eikZZwG06DhKDaS629B7dMLkJyGbdv1rlf+ d39DilZDs5e7QBSssmI33YmqFPP1bjHy5u5OEIgw8B3IQrAPM5C4bQZxRsUiX/ReS9h2P4RpCWYcU ca1rHcxV5ThyAXmph0NkTEZVnX41JqDDiQtnRzBNkgsYZzeMTtkp8LpQScatNBUecZFhcS24qUdCp GGRiIpL+s3kRv3X1F4qH620iS89T0Dc/i6C1KJDTxVvZ2dyxt3jxb3FQsehRgt4NROkPlRdqzsZmg cJYOVl+A==; Received: from 089144205116.atnat0014.highway.webapn.at ([89.144.205.116] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jVerS-0003jr-A3; Mon, 04 May 2020 17:26:34 +0000 From: Christoph Hellwig To: x86@kernel.org Cc: Mike Travis , linux-kernel@vger.kernel.org Subject: [PATCH 04/11] x86/uv: Unexport symbols only used by x2apic_uv_x.c Date: Mon, 4 May 2020 19:15:20 +0200 Message-Id: <20200504171527.2845224-5-hch@lst.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200504171527.2845224-1-hch@lst.de> References: <20200504171527.2845224-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org uv_bios_set_legacy_vga_target, uv_bios_freq_base, uv_bios_get_sn_info, uv_type, system_serial_number and sn_region_size are only used in x2apic_uv_x.c, which can't be modular. Signed-off-by: Christoph Hellwig --- arch/x86/platform/uv/bios_uv.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/x86/platform/uv/bios_uv.c b/arch/x86/platform/uv/bios_uv.c index 5d675c4f459b4..4494589a288ae 100644 --- a/arch/x86/platform/uv/bios_uv.c +++ b/arch/x86/platform/uv/bios_uv.c @@ -83,10 +83,7 @@ long sn_coherency_id; long sn_region_size; EXPORT_SYMBOL_GPL(sn_region_size); long system_serial_number; -EXPORT_SYMBOL_GPL(system_serial_number); int uv_type; -EXPORT_SYMBOL_GPL(uv_type); - s64 uv_bios_get_sn_info(int fc, int *uvtype, long *partid, long *coher, long *region, long *ssn) @@ -113,7 +110,6 @@ s64 uv_bios_get_sn_info(int fc, int *uvtype, long *partid, long *coher, *ssn = v1; return ret; } -EXPORT_SYMBOL_GPL(uv_bios_get_sn_info); int uv_bios_mq_watchlist_alloc(unsigned long addr, unsigned int mq_size, @@ -164,7 +160,6 @@ s64 uv_bios_freq_base(u64 clock_type, u64 *ticks_per_second) return uv_bios_call(UV_BIOS_FREQ_BASE, clock_type, (u64)ticks_per_second, 0, 0, 0); } -EXPORT_SYMBOL_GPL(uv_bios_freq_base); /* * uv_bios_set_legacy_vga_target - Set Legacy VGA I/O Target @@ -183,7 +178,6 @@ int uv_bios_set_legacy_vga_target(bool decode, int domain, int bus) return uv_bios_call(UV_BIOS_SET_LEGACY_VGA_TARGET, (u64)decode, (u64)domain, (u64)bus, 0, 0); } -EXPORT_SYMBOL_GPL(uv_bios_set_legacy_vga_target); int uv_bios_init(void) { -- 2.26.2