From nobody Fri Feb 13 07:26:24 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 815D915884D for ; Fri, 31 May 2024 12:35:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717158921; cv=none; b=mVuyZGfk0RJI0IA3CHoWjo0F7klkGtfbSjKFmsCmN7u/EmIIIHHZAgO54NhbnHBtmDBNkd77JHK+RychFD2e4ph+Dj6Hp6/Q5X/cxRUxgMOZ2dcRKbNe3lWBKwn2W5wPm/8i6TqFhWsqfCqsalbZ6HD0FWwSFeef3IGpDGY0YeI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717158921; c=relaxed/simple; bh=OZwBq4zhE7sZbzL9CtiglYHCMatlBRlDf8o+veIibKs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=aWpPqUH3Nqi1zRaKIQF7ui5tzPpJCJVxfNHKQOZqae2wXVb0EyTHrHw8nduz7X6r4vpKoNd4s6eP9j0EDk3zzBQPegeaTmJNbVc0+7W9jBIFBcl1RgWdIrIWU6krQH6OGT/dCUGNF0DRwGxc2RQJ+CPjjm51osqB/911OixFwjw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aMIg2FBG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aMIg2FBG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41976C4AF07; Fri, 31 May 2024 12:35:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717158921; bh=OZwBq4zhE7sZbzL9CtiglYHCMatlBRlDf8o+veIibKs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aMIg2FBGQtew7H+4WbkjVChd1F9CQ3bw7TkT9hA1ddo3nml6Tsr5zspAvpS6Hh6DF hfoVmOE4Ia/SGGcxF4Xru9MqifCVnBlspdARggAnXiyiTzQ0+J8uEi6GN2H7VbMUT/ O75qoNcjFpdaRDpdMVZzV564wRZgi4YmDGh4oiYME68yvz7GVTaV3KGCN9GLz6Kj+q /+LdsrJets0FAODfcHGu5p/GNc7h2weHGYwWNyccJDxRcyjhmdgNLSSsyRSoIask1m sAJsDtJwu2ZV1cJRcDAGQRgTNcAf5c6um0Me6egqNw6K4l7Cb1YADLUv3SD6fvwqie vERkV2LmH5RKQ== From: Borislav Petkov To: X86 ML Cc: LKML , "Borislav Petkov (AMD)" Subject: [PATCH 04/14] x86/alternative: Convert alternative_2() Date: Fri, 31 May 2024 14:35:01 +0200 Message-ID: <20240531123512.21427-5-bp@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240531123512.21427-1-bp@kernel.org> References: <20240531123512.21427-1-bp@kernel.org> 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" From: "Borislav Petkov (AMD)" Signed-off-by: Borislav Petkov (AMD) --- arch/x86/include/asm/alternative.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/include/asm/alternative.h b/arch/x86/include/asm/alte= rnative.h index c622ec7c4462..1dd445c6e2e1 100644 --- a/arch/x86/include/asm/alternative.h +++ b/arch/x86/include/asm/alternative.h @@ -319,9 +319,6 @@ static inline int alternatives_text_reserved(void *star= t, void *end) asm_inline volatile(N_ALTERNATIVE(oldinstr, newinstr, ft_flags) : : : "me= mory") =20 #define alternative_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2= ) \ - asm_inline volatile(ALTERNATIVE_2(oldinstr, newinstr1, ft_flags1, newinst= r2, ft_flags2) ::: "memory") - -#define n_alternative_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flag= s2) \ asm_inline volatile(N_ALTERNATIVE_2(oldinstr, newinstr1, ft_flags1, newin= str2, ft_flags2) ::: "memory") =20 /* --=20 2.43.0