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 <email@example.com> Acked-by: Peter Zijlstra (Intel) <firstname.lastname@example.org> Acked-by: Waiman Long <email@example.com> Acked-by: Boqun Feng <firstname.lastname@example.org> Cc: Linus Torvalds <email@example.com> Cc: Thomas Gleixner <firstname.lastname@example.org> Cc: email@example.com Cc: firstname.lastname@example.org Link: http://email@example.comSigned-off-by: Ingo Molnar <firstname.lastname@example.org> Signed-off-by: Sebastian Andrzej Siewior <email@example.com> Signed-off-by: Sasha Levin <firstname.lastname@example.org>
Showing with 46 additions and 71 deletions