locking/qspinlock: Rename mcs lock/unlock macros and make them more generic
maillist inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8T8XV Reference: https://lore.kernel.org/linux-arm-kernel/20210514200743.3026725-2-alex.kogan@oracle.com -------------------------------- The mcs unlock macro (arch_mcs_lock_handoff) should accept the value to be stored into the lock argument as another argument. This allows using the same macro in cases where the value to be stored when passing the lock is different from 1. Signed-off-by:Alex Kogan <alex.kogan@oracle.com> Reviewed-by:
Steve Sistare <steven.sistare@oracle.com> Reviewed-by:
Waiman Long <longman@redhat.com> Signed-off-by:
Wei Li <liwei391@huawei.com>
Loading
Please sign in to comment