Commit 5261ad70 authored by Committed by Greg Kroah-Hartman
locking/qspinlock: Merge 'struct __qspinlock' into 'struct qspinlock'
commit 625e88be upstream. '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> Signed-off-by: Sebastian Andrzej Siewior <firstname.lastname@example.org> Signed-off-by: Sasha Levin <email@example.com>
Showing with 46 additions and 71 deletions