From nobody Mon Jun 8 06:38:13 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 D071D3DCDBC; Fri, 5 Jun 2026 08:42:57 +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=1780648980; cv=none; b=RnhOS1hjbAl1zJPWIGPIP7qDYl9f2puMNl30mkBbdo54IcG2On/GRpdk5AZoDN9lTh0dqhdWJx1FflLtqotUO9vhrWOnz53zet7tdRDPi8bHkXKl8V4lasqadIaRTI64bg/x8lf/GRac1Zu5KAH9KjJLzG1uiGcajVHZtGsGbMw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780648980; c=relaxed/simple; bh=h8fN+wKoE9B9c9HtrlIMQmu6EKiSyE0WE0OMZg3mn9A=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=NAi3udX4LJiw3CM9K78Dkr7XzZy86eiaeoLL0Qy1AvmTxi5EAB7MCTEru2YZjf/SnmGQ6l3yn0t74Y4VQzE09MTmaMpY4mhpEMiff2tx919kO7mvnEwpBOyYjTjPOxQRD5Kvs3LiRTeWcF+1byqCFk/bJWqG4MSQp0g2ADnhMCM= 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=u41Wwsq8; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=/ug0xFcW; 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="u41Wwsq8"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="/ug0xFcW" Date: Fri, 05 Jun 2026 08:42:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1780648975; 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=z2wldH3J6sDh86j+OjUs6K6FBaY8G4ozVVh46v6DdqE=; b=u41Wwsq8nrQh3oeR7enLU3QP6p32h1hJEQMX5MkzOl30qua2YED48nilpCtRYrUfrnrq2D 7phN3fD+hy8vOMT6iSq5gEc+0A0sxTHLLCY+pxjRVUhCPsun0FNs/vvqIl2WppwNCtARIk FsrJiZNTRPZGzUQ9McctMaKHSr3pjbBUBVPVEL+yXPhfLnsrQu4wvHjT5H7QrSo7Ke7HJP +I4el4i0omgT7HQL1bsogubAa0d2NtcNe9qMt9GfErvYTUfpN+Qkw015VPdrGLAwAWvXRT HcV3JlfV0pmhRaLJzhx/HXbnQzxMbI5Je5faXQejVghbAPhYrDyoejDT5tHmyg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1780648975; 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=z2wldH3J6sDh86j+OjUs6K6FBaY8G4ozVVh46v6DdqE=; b=/ug0xFcWigmXP66s+CsOKp//lh4FnEMvUdsg9bkM2h4CmgolzsRjSDmPTaaQa29zwoQ1Ud RY3zbLgN8hsO+CAg== 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 , 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: <178064897397.710.7939493702842784218.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: c2f8cd535cd4d54ff957ed3440690035d7b55162 Gitweb: https://git.kernel.org/tip/c2f8cd535cd4d54ff957ed3440690035d= 7b55162 Author: Junxiao Chang AuthorDate: Sat, 06 Jun 2026 10:15:14 +08:00 Committer: Ingo Molnar CommitterDate: Fri, 05 Jun 2026 10:41:46 +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 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);