X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=kvmfornfv.git;a=blobdiff_plain;f=kernel%2Farch%2Farc%2Finclude%2Fasm%2Fspinlock_types.h;h=4e1ef5f650c6f2fc74ee1fbb09957d8d23e7b7da;hp=662627ced4f23a966c85feffb9f9d38a4f7df10a;hb=e09b41010ba33a20a87472ee821fa407a5b8da36;hpb=f93b97fd65072de626c074dbe099a1fff05ce060 diff --git a/kernel/arch/arc/include/asm/spinlock_types.h b/kernel/arch/arc/include/asm/spinlock_types.h index 662627ced..4e1ef5f65 100644 --- a/kernel/arch/arc/include/asm/spinlock_types.h +++ b/kernel/arch/arc/include/asm/spinlock_types.h @@ -26,7 +26,9 @@ typedef struct { */ typedef struct { volatile unsigned int counter; +#ifndef CONFIG_ARC_HAS_LLSC arch_spinlock_t lock_mutex; +#endif } arch_rwlock_t; #define __ARCH_RW_LOCK_UNLOCKED__ 0x01000000