Skip to content
Commit 81533803 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

s390/spinlock: use the cpu number +1 as spinlock value



The queued spinlock code will come out simpler if the encoding of
the CPU that holds the spinlock is (cpu+1) instead of (~cpu).

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 1887aa07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment