Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp765893ybj; Thu, 7 May 2020 07:11:51 -0700 (PDT) X-Google-Smtp-Source: APiQypIoS7DnCshfml7GGxEw6Zo46/7bNxcEmDrJeHuD+YoB/ia3TxdBtemNIz8YSfyWFP+gK5Np X-Received: by 2002:a05:6402:6d5:: with SMTP id n21mr12449648edy.82.1588860711305; Thu, 07 May 2020 07:11:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588860711; cv=none; d=google.com; s=arc-20160816; b=ykm6mBYcPpyf86x5Oy8ZKaJvghU4GFgedmdid8QpVIgddLSdw61kjykuu5aHwYkt3s zMkEL/GStxaE2JDFILZSqozDuOHGJ03Pc89XjId6cf0HXq0IfEMb/IStHl5Vari9TZVJ cK+Xp3V2c2HzG8yLR9pJspZ6Avew/fOtfxqYkxyOgsvkCLFpCLcjo5pmbexGuZb6Dy0G 57zs5SbPJ3RzgvbEIqZSOUKihINfpNQ7dxhRj0BbcRtM6xuYp6uFwQWM67dWycfUCwSI s9+RzBXCv31YcHn1T/9WUqV640wxZIOEXDGuIgACg7/ikRoVeAYdAaY8hpCzbOe11xdh cRUA== 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 :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=VcG9muc260IvBubLAO47ufbXofiX6Sv3C0RjuPMqv+g=; b=IGRvdHyl/NIriNeNi1Uw5OWXbP3FjlK4QOnbfEDJy4C90y/4Vphte7hofU6zVHU1ew HfWWRuiptS53EMwacu0e8/qV+iYJCMPNbX3+g7lNZYG7zn6J/CqS/lvnrBblJqL20g53 thX+i9QKRQ4GVDl0gnlSh5Qg/bm4T1hrc83K7Q48ORHmvDExowltYsxjDgailuHF/4yq ne0eKCr8ob5aG+c2pAEwzFlJC3Xqrqg9BG2nVXF8YFRZygOKnEMln0hsOT6d6xGScp/M 8KybG1XPkA6eqB8bIB6oxDiBKhOaTDaMUAx0+0PI8bzXPlwOE/ctiUPx9eVhFGMehjde TeMg== ARC-Authentication-Results: i=1; mx.google.com; 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 jz6si3286088ejb.327.2020.05.07.07.11.26; Thu, 07 May 2020 07:11:51 -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; 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 S1727815AbgEGOHd (ORCPT + 99 others); Thu, 7 May 2020 10:07:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727116AbgEGOH3 (ORCPT ); Thu, 7 May 2020 10:07:29 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C9E9C05BD43; Thu, 7 May 2020 07:07:29 -0700 (PDT) Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jWhBN-00029a-RU; Thu, 07 May 2020 16:07:26 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id 6C2801C03AB; Thu, 7 May 2020 16:07:24 +0200 (CEST) Date: Thu, 07 May 2020 14:07:24 -0000 From: "tip-bot2 for Christoph Hellwig" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/platform] x86/platform/uv: Mark uv_bios_call() and uv_bios_call_irqsave() static Cc: Christoph Hellwig , Thomas Gleixner , Russ Anderson , x86 , LKML In-Reply-To: <20200504171527.2845224-2-hch@lst.de> References: <20200504171527.2845224-2-hch@lst.de> MIME-Version: 1.0 Message-ID: <158886044439.8414.15931913871318299163.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/platform branch of tip: Commit-ID: 30ad8db3a2c2e0121202342c6c2a48fc28937056 Gitweb: https://git.kernel.org/tip/30ad8db3a2c2e0121202342c6c2a48fc28937056 Author: Christoph Hellwig AuthorDate: Mon, 04 May 2020 19:15:17 +02:00 Committer: Thomas Gleixner CommitterDate: Thu, 07 May 2020 15:32:19 +02:00 x86/platform/uv: Mark uv_bios_call() and uv_bios_call_irqsave() static Both functions are only used inside of bios_uv.c. Signed-off-by: Christoph Hellwig Signed-off-by: Thomas Gleixner Not-acked-by: Dimitri Sivanich Cc: Russ Anderson Link: https://lkml.kernel.org/r/20200504171527.2845224-2-hch@lst.de --- arch/x86/include/asm/uv/bios.h | 6 ------ arch/x86/platform/uv/bios_uv.c | 9 ++++----- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/arch/x86/include/asm/uv/bios.h b/arch/x86/include/asm/uv/bios.h index 389174e..fc85daf 100644 --- a/arch/x86/include/asm/uv/bios.h +++ b/arch/x86/include/asm/uv/bios.h @@ -123,12 +123,6 @@ enum uv_memprotect { UV_MEMPROT_ALLOW_RW }; -/* - * bios calls have 6 parameters - */ -extern s64 uv_bios_call(enum uv_bios_cmd, u64, u64, u64, u64, u64); -extern s64 uv_bios_call_irqsave(enum uv_bios_cmd, u64, u64, u64, u64, u64); - extern s64 uv_bios_get_sn_info(int, int *, long *, long *, long *, long *); extern s64 uv_bios_freq_base(u64, u64 *); extern int uv_bios_mq_watchlist_alloc(unsigned long, unsigned int, diff --git a/arch/x86/platform/uv/bios_uv.c b/arch/x86/platform/uv/bios_uv.c index c60255d..ca28755 100644 --- a/arch/x86/platform/uv/bios_uv.c +++ b/arch/x86/platform/uv/bios_uv.c @@ -45,7 +45,8 @@ static s64 __uv_bios_call(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, return ret; } -s64 uv_bios_call(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, u64 a4, u64 a5) +static s64 uv_bios_call(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, u64 a4, + u64 a5) { s64 ret; @@ -57,10 +58,9 @@ s64 uv_bios_call(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, u64 a4, u64 a5) return ret; } -EXPORT_SYMBOL_GPL(uv_bios_call); -s64 uv_bios_call_irqsave(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, - u64 a4, u64 a5) +static s64 uv_bios_call_irqsave(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, + u64 a4, u64 a5) { unsigned long bios_flags; s64 ret; @@ -77,7 +77,6 @@ s64 uv_bios_call_irqsave(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, return ret; } - long sn_partition_id; EXPORT_SYMBOL_GPL(sn_partition_id); long sn_coherency_id;