Re: [patch 22/63] locking/spinlock: Split the lock types header

From: Thomas Gleixner
Date: Thu Aug 05 2021 - 04:54:58 EST


On Wed, Aug 04 2021 at 17:17, Waiman Long wrote:
> On 7/30/21 9:50 AM, Thomas Gleixner wrote:
>> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>>
>
> Most of the code in spinlock_types.h are moved into
> spinlock_types_raw.h. However, macros like SPINLOCK_MAGIC and those that
> followed are not removed from spinlock_types.h in this patch leading to
> the same set of macro definitions in two different files. Should we
> eliminate the duplicate macro definitions either from spinlock_types.h
> or from spinlock_types_raw.h?

Right you are.