Re: [PATCH v2 09/13] locking/qspinlock: Merge struct __qspinlock into struct qspinlock

2018-04-11 Thread Waiman Long
On 04/11/2018 02:01 PM, Will Deacon wrote: > 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 poten

[PATCH v2 09/13] locking/qspinlock: Merge struct __qspinlock into struct qspinlock

2018-04-11 Thread Will Deacon
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 __qspinlo