diff --git a/arch/ceva/src/common/ceva_modifyreg16.c b/arch/ceva/src/common/ceva_modifyreg16.c index 79a50f70b9..654c7c5389 100644 --- a/arch/ceva/src/common/ceva_modifyreg16.c +++ b/arch/ceva/src/common/ceva_modifyreg16.c @@ -44,7 +44,7 @@ void modifyreg16(unsigned int addr, uint16_t clearbits, uint16_t setbits) irqstate_t flags; uint16_t regval; - flags = spin_lock_irqsave(); + flags = spin_lock_irqsave(NULL); regval = getreg16(addr); regval &= ~clearbits; regval |= setbits; diff --git a/arch/ceva/src/common/ceva_modifyreg32.c b/arch/ceva/src/common/ceva_modifyreg32.c index 90cacd0d56..a6ac6f3f25 100644 --- a/arch/ceva/src/common/ceva_modifyreg32.c +++ b/arch/ceva/src/common/ceva_modifyreg32.c @@ -44,7 +44,7 @@ void modifyreg32(unsigned int addr, uint32_t clearbits, uint32_t setbits) irqstate_t flags; uint32_t regval; - flags = spin_lock_irqsave(); + flags = spin_lock_irqsave(NULL); regval = getreg32(addr); regval &= ~clearbits; regval |= setbits; diff --git a/arch/ceva/src/common/ceva_modifyreg8.c b/arch/ceva/src/common/ceva_modifyreg8.c index 5825a49663..020bce8159 100644 --- a/arch/ceva/src/common/ceva_modifyreg8.c +++ b/arch/ceva/src/common/ceva_modifyreg8.c @@ -44,7 +44,7 @@ void modifyreg8(unsigned int addr, uint8_t clearbits, uint8_t setbits) irqstate_t flags; uint8_t regval; - flags = spin_lock_irqsave(); + flags = spin_lock_irqsave(NULL); regval = getreg8(addr); regval &= ~clearbits; regval |= setbits;