From nobody Mon Feb 9 00:07:24 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 2B20026AAAF; Mon, 5 May 2025 16:36:33 +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=1746462996; cv=none; b=gwysREy2raofyIP7Z5vcfPYPhWaVUE8gYV5gGU5EPWx72nYo+Ftit/YhonWq1nhnzFYlkvj8q0EIAxgl6ClRwMIr4Hk/BdeiJcBXqhfv+iZGbzSSLdHGwbtjIpubZAtYDQXbf8Ih1XJfcjT4t9FoFA3L2MIKq71d9IvUGgLzxe0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746462996; c=relaxed/simple; bh=r2otKwsbyfQGbwOmVONDO2XP4MCNsdYaQYp6ORvcNcs=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=Hw92D/p8Q51+8QwS5rLvEEuqHwd36b+6Hd1ARebGMMc5z9HW2LykjwcMKvCTVIW/eaBBLZimwkcoZeaiFydrW85J/KkWHxC5tQ2RhhBHcLCgCb+iyZj6GPsJp6fLAuTfeWXCl+aGr4GeRL3VsLZbOvrC9mqkXhbriiXVLHshwz4= 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=y4MKvqTu; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ivwbl7dH; 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="y4MKvqTu"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ivwbl7dH" Date: Mon, 05 May 2025 16:36:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1746462992; 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; bh=1Ag9Mk9SF6d494ICAuBdI+cMwDV7PjmdTQ54lhS3HuY=; b=y4MKvqTuBOmZJZRLa1HPWs8N3Q7TmVZSphq1fZAGBv9G8onViM3OEveQqXPABwq7aNnQh9 01g639dEs5SWcCdOPlMc/OxtEVWx5hO/NN/F8NB7kK0rYAsYfEvAxEQdiyQVH98XAxnnWy jrN5IPENzP3qmLOVP5uIrt5F3iQubgn3msRoZceeSibJGao7zSV8dx2JQ7UAZPTQnBZEkM A90ivXuqPCbbp2V+HD0IvgwCRTE69oI+XQeTFf5BnKDMGHDroAiDEnTvZUXGzVLMDjcm7Y aheic+/S9y5xC7bInhy8HCYQgvrE8k/CesYQk5nh5LX5kpGVZeUHBfh+x12erA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1746462992; 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; bh=1Ag9Mk9SF6d494ICAuBdI+cMwDV7PjmdTQ54lhS3HuY=; b=ivwbl7dHpmWuOe5W18XHxdzXgSh60etQM7ljue+8CSyKzIdlKPaqJhKURN5ZPaUITPMtRa Ftjwn6JZ05FVMsBQ== From: "tip-bot2 for Juergen Gross" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/alternatives] x86/alternative: Remove unused header #defines Cc: Juergen Gross , Dave Hansen , x86@kernel.org, linux-kernel@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <174646299018.406.8074080042473736706.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: 43c2df7e2b08db6d65ce9707e4090f1f0c61f2f6 Gitweb: https://git.kernel.org/tip/43c2df7e2b08db6d65ce9707e4090f1f0= c61f2f6 Author: Juergen Gross AuthorDate: Mon, 05 May 2025 15:16:46 +02:00 Committer: Dave Hansen CommitterDate: Mon, 05 May 2025 09:30:40 -07:00 x86/alternative: Remove unused header #defines Remove some unfortunately-named unused macros which could potentially result in weird build failures. Fortunately, they are under an #ifdef __ASSEMBLER__ which has kept them from causing problems so far. [ dhansen: subject and changelog tweaks ] Fixes: 1a6ade825079 ("x86/alternative: Convert the asm ALTERNATIVE_3() macr= o") Signed-off-by: Juergen Gross Signed-off-by: Dave Hansen Link: https://lore.kernel.org/all/20250505131646.29288-1-jgross%40suse.com --- arch/x86/include/asm/alternative.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/x86/include/asm/alternative.h b/arch/x86/include/asm/alte= rnative.h index ef84739..e18cdaa 100644 --- a/arch/x86/include/asm/alternative.h +++ b/arch/x86/include/asm/alternative.h @@ -341,11 +341,6 @@ void nop_func(void); __ALTERNATIVE(\oldinstr, \newinstr, \ft_flags) .endm =20 -#define old_len 141b-140b -#define new_len1 144f-143f -#define new_len2 145f-144f -#define new_len3 146f-145f - /* * Same as ALTERNATIVE macro above but for two alternatives. If CPU * has @feature1, it replaces @oldinstr with @newinstr1. If CPU has