From nobody Mon Jun 8 06:36:46 2026 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (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 BE9F92ECEB9 for ; Fri, 5 Jun 2026 02:20:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.20 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780626062; cv=none; b=TbF6RZpWwSCdACMMqpJSSvOtwF7QxFtVfCKnyPnVDNuN3p0ozLHidzuYTC1hRPhD9VtfJmb772Sj4dD2s9FD++dOK+q6YlWyEKgZ3lWEb+nQIEHmhoOVdSyN1N/fzjN832UIgwSS9A0QRY5cmz6PC0myE6T48wqRIHBZIRotfb4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780626062; c=relaxed/simple; bh=QNAEJd9S4/jy9XhPeIFhCMs8QgBcfWOg0w6mbAss+84=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=B2Hc9FH9CnIYCVEniKlgzN1NWWsYL9Aw3Qn4/pycKbjLsJD5qKXCwTpKqjenuMWE67u36kCUTuVPTd84kIu9ZuWpsDv+UNK1bHbz8kIUtl7S7eiyjN69mw7FNNYqpL4dzzMNstdjBiAy6OfeBiuZuqy+qrDWwindsERBrglBssw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=T4EQiRzP; arc=none smtp.client-ip=198.175.65.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="T4EQiRzP" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1780626056; x=1812162056; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=QNAEJd9S4/jy9XhPeIFhCMs8QgBcfWOg0w6mbAss+84=; b=T4EQiRzPsiIV6In0ysK0KiF4L7Dj9xwFZxRjBMFbvkbKprFXSao7eH3R B85UrmJ8pGU2WLrjtfYkHZscq25ygJcZK7ixA76VFOJG/MhXjrk+/Qf39 WmGGUHN+bZUaWyL5ASUF1OT3NRgvdfalrnsz+5JzJ++PGUR97pNCP0yvX foTu4mhV9iXrpzR+3wWqUVMT6BxSX/DHoFJGjQ7znlRS/QRAFNVpkbvrk rFZ16nenV5V/K0C5qUPrlr4mmXCtgcRIMBS6jGcA0nIbw+BrVfplQM8Gx 9f5hXcjebYAoHwq7oLZaUXbEtBfz7bvJBVXx5qeuh/LVu8r+tf3iQMmQs w==; X-CSE-ConnectionGUID: CjNYNTOmTGq4wBujXBPu7A== X-CSE-MsgGUID: zV2JI0RARaC9XJVDotnt2g== X-IronPort-AV: E=McAfee;i="6800,10657,11807"; a="81204911" X-IronPort-AV: E=Sophos;i="6.24,188,1774335600"; d="scan'208";a="81204911" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2026 19:20:55 -0700 X-CSE-ConnectionGUID: MGIMSYH3QiSwNF6cN6Q10Q== X-CSE-MsgGUID: sa5mx2MgRNic39jtGd9vmQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,188,1774335600"; d="scan'208";a="268409683" Received: from junxiao.bj.intel.com ([10.238.152.69]) by fmviesa002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2026 19:20:52 -0700 From: Junxiao Chang To: tglx@kernel.org, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, ptesarik@suse.com, nik.borisov@suse.com, linux-kernel@vger.kernel.org, junxiao.chang@intel.com Subject: [PATCH] x86/cpu: remove obsolete aperfmperf_get_khz declaration Date: Sat, 6 Jun 2026 10:15:14 +0800 Message-ID: <20260606021514.1433619-1-junxiao.chang@intel.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Nikolay Borisov --- 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 5c7a3a71191a1..dca2d5845e427 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); --=20 2.43.0