From nobody Sun Feb 8 13:39:50 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 DEB9029B220; Fri, 11 Apr 2025 10:01:43 +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=1744365705; cv=none; b=UJFPzZVeOA/QFr/9jnzu2DbDXuDJ+K5p3HB8SG30ttDwO05DyorTWV8+r4ghMxd1lrcCu2BnMx7dUgkqojZM9KzXTo5Fq5NvTJSfjuy6tSWYfTOctopC6LDR7M+J9NKKJ1THxxEdic+WD7ni7LoHQvrbdFpOUeLCMNqy5HGdZ0E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744365705; c=relaxed/simple; bh=OesOyefBS/sM4Vt1NTh+xFG8oUm4rzldL/1Mv6byIFI=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=n/S2vxFLAB+xaRSQaDnJiSWoDvSi1guCN/aOhUILggp3O4vSUzBVWejBzBhnk0PkU+wFfjy+yCb8oQ9zOAWjqRYreZaw+fhjgbzR0/6xxR1GbTQ9n0q2Rk4o4oO7JdfvvBHvYdsJ9eqcRPjwrd7dJIXQxnmRQd1fuWDGLRr15po= 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=WyFEqdPm; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=V61RbNaa; 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="WyFEqdPm"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="V61RbNaa" Date: Fri, 11 Apr 2025 10:01:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1744365702; 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=jYsxcJbMqAOYtR5yEu9HXhpBDo8pITdaAfGLFDRILPg=; b=WyFEqdPmxz0EMivyfXQL4PoZGkToOo8MGrsEa9Ipx+yYgadgz/oy2V6V+rXmr4MxvO9aUn gzgbqd292jtMTdTgek+NFItGghavNOR9lZ0h8e+nlgmjjjXHpKeX0IyhBg71erzts4Ebxa Ipm57kuQrFgZYJEFO3iF0QT3IdsBrphvdtONs7kBIiTWZsp48uqwbfOhDEUHBzv68CK/DJ swESWVq33p+KKEavVaSOHW/rEqizm+5A4HcH/Oz1zxKZcIDB+55IHdpLm1jddVe78puzk6 pVbXeBD8EyZDDtGl+7LCkRb3R+8NX9IqMpRPxzZV5mwWd8a6lzNci4uAbVoqdQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1744365702; 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=jYsxcJbMqAOYtR5yEu9HXhpBDo8pITdaAfGLFDRILPg=; b=V61RbNaaRlGoQWES4OEpx+IxEeuVRdrWYJ4+9TkupB3hmwJLnnFsOxnNFWBkoSE3LRZBXR J3/YyiKaYtF8sLCw== From: "tip-bot2 for Ingo Molnar" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/alternatives] x86/alternatives: Simplify the #include section Cc: Ingo Molnar , Juergen Gross , "H . Peter Anvin" , Linus Torvalds , Peter Zijlstra , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20250411054105.2341982-48-mingo@kernel.org> References: <20250411054105.2341982-48-mingo@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <174436570174.31282.15716098760927710552.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/alternatives branch of ti= p: Commit-ID: db5c68c88c07337b7e5801abfb926f9191fa7945 Gitweb: https://git.kernel.org/tip/db5c68c88c07337b7e5801abfb926f919= 1fa7945 Author: Ingo Molnar AuthorDate: Fri, 11 Apr 2025 07:40:59 +02:00 Committer: Ingo Molnar CommitterDate: Fri, 11 Apr 2025 11:01:35 +02:00 x86/alternatives: Simplify the #include section We accumulated lots of unnecessary header inclusions over the years, trim them. Signed-off-by: Ingo Molnar Cc: Juergen Gross Cc: "H . Peter Anvin" Cc: Linus Torvalds Cc: Peter Zijlstra Link: https://lore.kernel.org/r/20250411054105.2341982-48-mingo@kernel.org --- arch/x86/kernel/alternative.c | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c index b8e0b1b..eb3be5d 100644 --- a/arch/x86/kernel/alternative.c +++ b/arch/x86/kernel/alternative.c @@ -1,36 +1,14 @@ // SPDX-License-Identifier: GPL-2.0-only #define pr_fmt(fmt) "SMP alternatives: " fmt =20 -#include -#include +#include #include -#include -#include -#include -#include -#include #include #include -#include -#include -#include -#include -#include -#include -#include + #include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include +#include =20 int __read_mostly alternatives_patched;