Commit 625e88be authored by Committed by Ingo Molnar
locking/qspinlock: Merge 'struct __qspinlock' into 'struct qspinlock'
'struct __qspinlock' provides a handy union of fields so that subcomponents of the lockword can be accessed by name, without having to manage shifts and masks explicitly and take endianness into account. This is useful in qspinlock.h and also potentially in arch headers, so move the 'struct __qspinlock' into 'struct qspinlock' and kill the extra definition. Signed-off-by: Will Deacon <firstname.lastname@example.org> Acked-by: Peter Zijlstra (Intel) <email@example.com> Acked-by: Waiman Long <firstname.lastname@example.org> Acked-by: Boqun Feng <email@example.com> Cc: Linus Torvalds <firstname.lastname@example.org> Cc: Thomas Gleixner <email@example.com> Cc: firstname.lastname@example.org Cc: email@example.com Link: http://firstname.lastname@example.orgSigned-off-by: Ingo Molnar <email@example.com>
Showing with 46 additions and 71 deletions