]> git.ipfire.org Git - thirdparty/linux.git/commit
soc: samsung: exynos-pmu: Annotate online/offline functions with __must_hold
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 5 Sep 2025 17:37:18 +0000 (19:37 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 13 Oct 2025 00:58:51 +0000 (02:58 +0200)
commit326312707492c136ba44cf96730e70aabc959da9
tree363484d3892ad8b5d03ec13aad7764cf89c69647
parentfe31e894c284012f11a841dd2346fd99bce4a001
soc: samsung: exynos-pmu: Annotate online/offline functions with __must_hold

Annotate functions writing to PMU registers to online and offline CPUs
as __must_hold() the necessary spinlock for code correctness.  These are
static functions so possibility of mistakes is low here, but
__must_hold() serves as self-documenting code.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/soc/samsung/exynos-pmu.c