From nobody Mon Apr 6 19:59:14 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 A1D9F37883E; Wed, 18 Mar 2026 08:02:56 +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=1773820978; cv=none; b=iyYEhCF3ytgxIxUWbe6K7MUyWqU8unXBcfwvuysxE44QCkq1VU7iJYeq+eROotpGN4qtJAcrzx3opOnyfMAZWK6H+1HXyGPfABfHSNeU9VZ09ai1zVPRIV8nmQxlOhXrM1bu3oh5aj4YB7+GnaiqNQhVj31jY9cwTyuxVaddyYM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773820978; c=relaxed/simple; bh=bLktXA1q1XzsOgf6w/LDwHb0lTkQYWb4dTCJo6puCyk=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=StLlZjmFVhilwuNGtmC+BMl0eLtEHj8zqG8HsUp539lPyvhsYXwa9NGKXFOc26EjhGEKJKsZrY5yPAlutrrjuTaRteHO1eIbyhf4fMeOHvPlgLsVW8YlzKVbCXAj0sdec+fe0QJkbkgdqFzSOeZ3msnVvWUvGiBMtDqbFico/Ag= 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=Zwu9tShZ; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=uPEXypjv; 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="Zwu9tShZ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="uPEXypjv" Date: Wed, 18 Mar 2026 08:02:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1773820973; 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=LS8pKdCiqCj5V1lD0cXJZI7hrrcrqI6ABvODAP5KddM=; b=Zwu9tShZ6/4jXOYKtLQLSu3AY/C430X3n5vUDL3uoa+HxnB+mJ6VBcLeexFyjBXhS1Whl3 4sF3fifLdHefo7bigStI+TVuqJCcqE8/buCzTLOUtwvyfQ2q/HGeABpgsRWW5iVLR0cywB F3bJDVYgaECxd796MX8Hc77NcG0VjoRTJRkQG0wipIXPoIn8ps/HC1ylwNmNhK41fQLJBr fJ3IcM4IT6oUIe58S1B2ROEf0sS2LnzL724vrwqFOF2DV80zx4APOuVDRCl0CprN4W5P/N +uTg8zFWu1p5lNCrnRLICqc1Oj7ePAhK3WrrEcJUm34IP3fEn/pQKbA22aXYMw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1773820973; 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=LS8pKdCiqCj5V1lD0cXJZI7hrrcrqI6ABvODAP5KddM=; b=uPEXypjvDQAGBfmDIfuO60bServUJ8nK6+zj39KBRgDMxRa7XYEU+kDHwHRfRQM/k3Lstp ylLwaA4DOqQfpaBA== From: tip-bot2 for Thomas =?utf-8?q?Wei=C3=9Fschuh?= Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/core] jump_label: remove workaround for old compilers in initializations Cc: thomas.weissschuh@linutronix.de, "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260313-jump_label-cleanup-v2-2-35d3c0bde549@linutronix.de> References: <20260313-jump_label-cleanup-v2-2-35d3c0bde549@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177382097213.1647592.1117570634747703860.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 locking/core branch of tip: Commit-ID: acb38872d4cbec5b6825345d9d757e21d2d9d953 Gitweb: https://git.kernel.org/tip/acb38872d4cbec5b6825345d9d757e21d= 2d9d953 Author: Thomas Wei=C3=9Fschuh AuthorDate: Fri, 13 Mar 2026 09:22:19 +01:00 Committer: Peter Zijlstra CommitterDate: Mon, 16 Mar 2026 13:16:49 +01:00 jump_label: remove workaround for old compilers in initializations The extra braces for the initialization of the anonymous union members were added in commit cd8d860dcce9 ("jump_label: Fix anonymous union initialization") to compensate for limitations in gcc < 4.6. Versions of gcc this old are not supported anymore, so drop the workaround. Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Peter Zijlstra (Intel) Link: https://patch.msgid.link/20260313-jump_label-cleanup-v2-2-35d3c0bde54= 9@linutronix.de --- include/linux/jump_label.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/include/linux/jump_label.h b/include/linux/jump_label.h index e494b36..b9c7b0e 100644 --- a/include/linux/jump_label.h +++ b/include/linux/jump_label.h @@ -87,13 +87,6 @@ struct static_key { atomic_t enabled; #ifdef CONFIG_JUMP_LABEL /* - * Note: - * To make anonymous unions work with old compilers, the static - * initialization of them requires brackets. This creates a dependency - * on the order of the struct with the initializers. If any fields - * are added, STATIC_KEY_INIT_TRUE and STATIC_KEY_INIT_FALSE may need - * to be modified. - * * bit 0 =3D> 1 if key is initially true * 0 if initially false * bit 1 =3D> 1 if points to struct static_key_mod @@ -240,10 +233,10 @@ extern enum jump_label_type jump_label_init_type(stru= ct jump_entry *entry); =20 #define STATIC_KEY_INIT_TRUE \ { .enabled =3D ATOMIC_INIT(1), \ - { .type =3D JUMP_TYPE_TRUE } } + .type =3D JUMP_TYPE_TRUE } #define STATIC_KEY_INIT_FALSE \ { .enabled =3D ATOMIC_INIT(0), \ - { .type =3D JUMP_TYPE_FALSE } } + .type =3D JUMP_TYPE_FALSE } =20 #else /* !CONFIG_JUMP_LABEL */ =20