[PATCH v2 0/2] jump_label: drop some workarounds in static key initialization

From: Thomas Weißschuh

Date: Fri Mar 13 2026 - 04:25:19 EST


These workarounds are not necessary anymore so remove them.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
---
Changes in v2:
- Rebase on v7.0-rc1.
- Link to v1: https://lore.kernel.org/r/20251118-jump_label-cleanup-v1-0-440a424d7282@xxxxxxxxxxxxx

---
Thomas Weißschuh (2):
jump_label: use ATOMIC_INIT() for initialization of .enabled
jump_label: remove workaround for old compilers in initializations

include/linux/jump_label.h | 22 ++++------------------
kernel/jump_label.c | 9 ---------
2 files changed, 4 insertions(+), 27 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20251110-jump_label-cleanup-d7036bd1e533

Best regards,
--
Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>