From nobody Mon Jun 8 05:26:22 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C8C538B7BC; Fri, 5 Jun 2026 13:13:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780665227; cv=none; b=co5N/zYoCl2BX1Y6PDa1DxA1/8r4CN0lSZf/t+savfCPnzyDGx6QDXWHTgnpc2tQpBh3xW5EXZcTCbJWBXg66jnXB+jqZgY9cSgM5oKWDnXNzSGRiu0eSyskrRG+N4XtgV+mWoZrkfJk3vdZnLvsiz0fakjU/LtMMhzyfxBq0Xs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780665227; c=relaxed/simple; bh=GSJC5FMJlAlgHqRT3L3Fh8YLnd9vtnJcRES9hJHh0k4=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=P6gcAsDR9zrXkiGRy8IaHWpyUQLEioXAZEj2jP3c+oOtp+k1MYCRHeubVZincR+5yKxwa/pFTSZpCKpwZ42uSUK6aLYYzNcAfiZv9tGnC1pU+eeZrg/oMCZecNgvg+tMmkPMSzehW7SRgWuX/Ato+2YoYbyZaM2ryZzqH25moBw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=IJ9H9yMZ; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=5MPjQfpU; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="IJ9H9yMZ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="5MPjQfpU" Date: Fri, 05 Jun 2026 13:13:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1780665224; 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=8bzHZqFntDr77mZXQPyM1BIxNsM69cKjdH+/OXod4SM=; b=IJ9H9yMZMLYYTEzAGBWdDH6NYXHR0WQblH0urExqEIc4tamNwkXxg0CXKKL5ZgAQJcGAkZ ptSwIkcBxR8BqiFEj6Dw4+ul1E42rH80GAb1TyRpjNsAXTEX+sr/9s1juyATDxX/k0/Iju Kyothqk/HoI7aPpGtmdBJFz/zQQ6M5byy89dSZ+3Kdj2NI+pFsb4QWTmqFVbi6wPdhFFQs fTuKAjxBCE19/rmfYBR/4DKHZSSpgSojJZvHyYBUsca+iBd/V/+L8ceVGncaj6njFPfJaA eN5mB2yBusGi1sIUSZpeaBHPDLcO78PDVEj9ZPXIaoYtQploC4ofE9D+Ortfzg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1780665224; 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=8bzHZqFntDr77mZXQPyM1BIxNsM69cKjdH+/OXod4SM=; b=5MPjQfpUXTnP1fqd0m2HXPIH5Eh3xUlg7OWcUnkRkhqYR8vqChx9N8ICvpmhdN1Y0WSb85 FQVkNQqUyaiAWtDA== From: "tip-bot2 for Junxiao Chang" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/cpu: Remove obsolete aperfmperf_get_khz() declaration Cc: Junxiao Chang , Ingo Molnar , Nikolay Borisov , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260606021514.1433619-1-junxiao.chang@intel.com> References: <20260606021514.1433619-1-junxiao.chang@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178066522252.710.2754812699040677649.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: a5f28da54f36f1a8b289d9bdd3e780b2ede0da6f Gitweb: https://git.kernel.org/tip/a5f28da54f36f1a8b289d9bdd3e780b2e= de0da6f Author: Junxiao Chang AuthorDate: Sat, 06 Jun 2026 10:15:14 +08:00 Committer: Ingo Molnar CommitterDate: Fri, 05 Jun 2026 15:10:25 +02:00 x86/cpu: Remove obsolete aperfmperf_get_khz() declaration aperfmperf_get_khz() was replaced by arch_freq_get_on_cpu(). The remaining declaration in the header file is no longer used and should be removed. Fixes: f3eca381bd49 ("x86/aperfmperf: Replace arch_freq_get_on_cpu()") Signed-off-by: Junxiao Chang Signed-off-by: Ingo Molnar Reviewed-by: Nikolay Borisov Link: https://patch.msgid.link/20260606021514.1433619-1-junxiao.chang@intel= .com --- arch/x86/kernel/cpu/cpu.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kernel/cpu/cpu.h b/arch/x86/kernel/cpu/cpu.h index 5c7a3a7..dca2d58 100644 --- a/arch/x86/kernel/cpu/cpu.h +++ b/arch/x86/kernel/cpu/cpu.h @@ -75,7 +75,6 @@ static inline struct amd_northbridge *amd_init_l3_cache(i= nt index) } #endif =20 -unsigned int aperfmperf_get_khz(int cpu); void cpu_select_mitigations(void); =20 extern void x86_spec_ctrl_setup_ap(void);