Ignore:
Timestamp:
2023-01-18T20:47:12Z (2 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aaa3b855
Parents:
eb630cf
Message:

Use irq_spinlock functions in arm32 code, to be consistent with all other code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/mach/beaglebone/beaglebone.c

    reb630cf rb67ce1ff  
    117117{
    118118        am335x_timer_intr_ack(&bbone.timer);
    119         spinlock_unlock(&irq->lock);
     119        irq_spinlock_unlock(&irq->lock, false);
    120120        clock();
    121         spinlock_lock(&irq->lock);
     121        irq_spinlock_lock(&irq->lock, false);
    122122}
    123123
     
    184184                /* The IRQ handler was found. */
    185185                irq->handler(irq);
    186                 spinlock_unlock(&irq->lock);
     186                irq_spinlock_unlock(&irq->lock, false);
    187187        } else {
    188188                printf("Spurious interrupt\n");
Note: See TracChangeset for help on using the changeset viewer.