Message ID | 167610970464.4906.11378766589125986180.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1426888wrn; Sat, 11 Feb 2023 02:19:20 -0800 (PST) X-Google-Smtp-Source: AK7set+CiPcpP/EvVie0xklRkU4rYN/dw/eUJY39Gh6i5v1geYI526Lk9lkkIAG8FkvhaX6HsTTb X-Received: by 2002:a50:955d:0:b0:4a2:43ae:a9ef with SMTP id v29-20020a50955d000000b004a243aea9efmr18855088eda.35.1676110760539; Sat, 11 Feb 2023 02:19:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676110760; cv=none; d=google.com; s=arc-20160816; b=X/SAT8L2zDyPOO2e8lTD9aN7mDXhhTeocal3dZG9QSlQYKy9QMjco2R08WI/596Zu3 vvgv7cPjNKsnC0GAVeDUDf6pdYTrz5zvyK6i7kGHEte6IO9eEkFkduvHp9jAQfN0AjdB huEfpJiJDfn6agNJ9ZeYJ4B2xiQlCXYySVBrU3lCaVvhqrh5VlkggodhNdmrxc+kdV/U uuTFLQWxehNtkc9sKAo4z80p5QYPIBCXqNlA7eNt4YhvNmfPg/LkjwPEgTh2Zx0YAS5e kQrpEYUSk5uQ3dA0bFXLv1Nu/tPJvuQpJnbmBGlCcm3rNiey4rLIvBnj5rb4PPeYK6Ot jQFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=SR9ujm7zNKdJxea3s1Y/v1qrUaqWAPS44icY3xx8NFg=; b=QluZ4/l9eA/PM7LY4HxBTowXLBudETScCMFihkoDiHohRqSnFlKF5yZPvKSQvBFUtz A1er9IjA9JXhRUKK9TDLj5YIK7zF4DFqOVoxfwFJwJOv7pn+YUSoS0ylUuC4+0urOmiK RRhmT+UqLbDx5ExL5bgfkVVTa9fIGiqzrjGlMxkeRT7kVc6i2iWAChtKgwNMW+KfAJ8W WwK1LAiL1qqZdkN+b8zBnZMpGr5zYS3kb6wp4Nz4T+hzlhDsq0bKH2AAfJzHv3ls+uLM vFHZnD3K4MGICwoJYeu/coKOTneoaRMkFoxeJS1TOgBVXAoYETkANTWuqa14ENVJgtqn FcOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=UwIFssFN; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=SkezBbYy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f4-20020a056402150400b0049e160ce989si6769793edw.306.2023.02.11.02.18.56; Sat, 11 Feb 2023 02:19:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=UwIFssFN; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=SkezBbYy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229943AbjBKKB5 (ORCPT <rfc822;ybw1215001957@gmail.com> + 99 others); Sat, 11 Feb 2023 05:01:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229915AbjBKKBt (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 11 Feb 2023 05:01:49 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40E52469B; Sat, 11 Feb 2023 02:01:46 -0800 (PST) Date: Sat, 11 Feb 2023 10:01:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1676109705; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SR9ujm7zNKdJxea3s1Y/v1qrUaqWAPS44icY3xx8NFg=; b=UwIFssFNf4DGjuuLI+qdZy9VxH1D9WeWQuCWRvimuCewlLkAn1MYrvaX0zivUUKCZiSLnn If3fJXjEsNQkqJgwnPBbO3tVR56LC9xL+s74u0asgXeBg4J29UU0IPpZCDcBzdOVqKHEoY w4fnBtAdVAkRllEbW5kScl8vZCDVwglNdvTRz2uioE9Ei+3AFaHWbJbqAHsvToU0p2AzUZ obAlY3hGuIPGThAYKAcWe5pY59tiXe8bfAhyCpQ1CZqEtsxLcHKICg9UVxJ+g2/QENnGLv cZsOevKXCcJX065x89oB0oNpA9pG2CA++DiUD/igR9G9Tm8j6jvAR/yBsowzRQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1676109705; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SR9ujm7zNKdJxea3s1Y/v1qrUaqWAPS44icY3xx8NFg=; b=SkezBbYycLXhfvqUcZx/gLCoq59Q91Re1XhFqD+hMAfwpz7mYBIBBjz1nlXni0l6Q/162p an8o/jSm3nf55MAQ== From: "tip-bot2 for Borislav Petkov (AMD)" <tip-bot2@linutronix.de> Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/tsc: Make recalibrate_cpu_khz() export GPL only Cc: "Borislav Petkov (AMD)" <bp@alien8.de>, x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <Y599miBzWRAuOwhg@zn.tnic> References: <Y599miBzWRAuOwhg@zn.tnic> MIME-Version: 1.0 Message-ID: <167610970464.4906.11378766589125986180.tip-bot2@tip-bot2> Robot-ID: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752483217381298231?= X-GMAIL-MSGID: =?utf-8?q?1757529517065511349?= |
Series |
[tip:,x86/cleanups] x86/tsc: Make recalibrate_cpu_khz() export GPL only
|
|
Commit Message
tip-bot2 for Thomas Gleixner
Feb. 11, 2023, 10:01 a.m. UTC
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 8fe6d84947582e2c076abc6253b80709fb047935
Gitweb: https://git.kernel.org/tip/8fe6d84947582e2c076abc6253b80709fb047935
Author: Borislav Petkov (AMD) <bp@alien8.de>
AuthorDate: Sun, 18 Dec 2022 21:52:42 +01:00
Committer: Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Sat, 11 Feb 2023 10:44:07 +01:00
x86/tsc: Make recalibrate_cpu_khz() export GPL only
A quick search doesn't reveal any use outside of the kernel - which
would be questionable to begin with anyway - so make the export GPL
only.
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/Y599miBzWRAuOwhg@zn.tnic
---
arch/x86/kernel/tsc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index a78e73d..eaeffef 100644 --- a/arch/x86/kernel/tsc.c +++ b/arch/x86/kernel/tsc.c @@ -912,8 +912,7 @@ void recalibrate_cpu_khz(void) cpu_khz_old, cpu_khz); #endif } - -EXPORT_SYMBOL(recalibrate_cpu_khz); +EXPORT_SYMBOL_GPL(recalibrate_cpu_khz); static unsigned long long cyc2ns_suspend;