[PATCH] powerpc/imc-pmu: Use the correct spinlock initializer.
Michael Ellerman
mpe at ellerman.id.au
Fri Oct 27 20:59:56 AEDT 2023
On Thu, 09 Mar 2023 14:48:31 +0100, Sebastian Andrzej Siewior wrote:
> The macro __SPIN_LOCK_INITIALIZER() is implementation specific. Users
> that desire to initialize a spinlock in a struct must use
> __SPIN_LOCK_UNLOCKED().
>
> Use __SPIN_LOCK_UNLOCKED() for the spinlock_t in imc_global_refc.
>
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/imc-pmu: Use the correct spinlock initializer.
https://git.kernel.org/powerpc/c/007240d59c11f87ac4f6cfc6a1d116630b6b634c
cheers
More information about the Linuxppc-dev
mailing list