From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lithops.sigma-star.at (mailout.nod.at [116.203.167.152]) (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 838D93016F1 for ; Mon, 16 Feb 2026 10:53:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.167.152 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771239228; cv=none; b=A0OJxhQDKAADq860yxIIvYYsHGISC9N5gxlzHJ4ll+Zfn3nz+QnZ0t8Uj2TvLbg7f1hKTm5DtUb4l//eUVTzWKqqY9Z9TM9MTaEt5ihjZL4NNjoUavs7iTutas4DYB80QDbuosthnAAuSOTLSY9RGEr1jIm5YKTHPEEsxOtlWAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771239228; c=relaxed/simple; bh=LANGJH1GNgm1LhgrP4IyL0HEFRyXXcDHJ8uQ0MGUg6Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sCf2XPDL+eVTnkUmCvGV3KNm1pYF24W6CkNiUFJEpev6QCliVMSEbHUZwlBJPfXK2EvS1jDXHstGNi3wIy2dA67jOPoq/BGXMt1CVmay7pjzJSsdBRDg4RgcKI52iMSlIr9fgRqOKepGmw7GXQ2sefka7nF/mwak5aAJKh1lnJo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nod.at; spf=fail smtp.mailfrom=nod.at; arc=none smtp.client-ip=116.203.167.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nod.at Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nod.at Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 2BE802E52E1; Mon, 16 Feb 2026 11:44:03 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id aanQfocgm073; Mon, 16 Feb 2026 11:44:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id DB2882E52E0; Mon, 16 Feb 2026 11:44:02 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id irDaR6whHuWN; Mon, 16 Feb 2026 11:44:02 +0100 (CET) Received: from nailgun.corp.sigma-star.at (unknown [82.150.214.1]) by lithops.sigma-star.at (Postfix) with ESMTPSA id 465BA2E52E1; Mon, 16 Feb 2026 11:44:02 +0100 (CET) From: Richard Weinberger To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, tglx@kernel.org, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, Richard Weinberger Subject: [PATCH 2/2] [RFC] x86: Remove clear_cpu_bug() Date: Mon, 16 Feb 2026 11:43:43 +0100 Message-ID: <20260216104343.3625292-2-richard@nod.at> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260216104343.3625292-1-richard@nod.at> References: <20260216104343.3625292-1-richard@nod.at> 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 F00F was the only user of clear_cpu_bug(). With no users left, remove this helper. Signed-off-by: Richard Weinberger --- arch/x86/include/asm/cpufeature.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpu= feature.h index 3ddc1d33399b..90680f978d43 100644 --- a/arch/x86/include/asm/cpufeature.h +++ b/arch/x86/include/asm/cpufeature.h @@ -125,7 +125,6 @@ static __always_inline bool _static_cpu_has(u16 bit) =20 #define cpu_has_bug(c, bit) cpu_has(c, (bit)) #define set_cpu_bug(c, bit) set_cpu_cap(c, (bit)) -#define clear_cpu_bug(c, bit) clear_cpu_cap(c, (bit)) =20 #define static_cpu_has_bug(bit) static_cpu_has((bit)) #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit)) --=20 2.51.0