Ignore:
Timestamp:
2013-06-08T09:16:16Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
273c976
Parents:
e006ba5
Message:

arm32, bbxm: Ingore ghost interrupt

File:
1 edited

Legend:

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

    re006ba5 r59a72f8  
    8585static void bb_timer_irq_handler(irq_t *irq)
    8686{
     87        // FIXME Ignore the weird ghost interrupt
     88        if (!amdm37x_gpt_irq_ack(&beagleboard.timer))
     89                return;
     90
    8791        /*
    8892         * We are holding a lock which prevents preemption.
    8993         * Release the lock, call clock() and reacquire the lock again.
    9094         */
    91         amdm37x_gpt_irq_ack(&beagleboard.timer);
    9295        spinlock_unlock(&irq->lock);
    9396        clock();
Note: See TracChangeset for help on using the changeset viewer.