Changeset 7e58979 in mainline for kernel/arch/ia32/src/smp/apic.c
- Timestamp:
- 2007-04-07T22:30:01Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7bcfbbc
- Parents:
- 201abde
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/smp/apic.c
r201abde r7e58979 140 140 static void l_apic_timer_irq_handler(irq_t *irq, void *arg, ...) 141 141 { 142 /* 143 * Holding a spinlock could prevent clock() from preempting 144 * the current thread. In this case, we don't need to hold the 145 * irq->lock so we just unlock it and then lock it again. 146 */ 147 spinlock_unlock(&irq->lock); 142 148 clock(); 149 spinlock_lock(&irq->lock); 143 150 } 144 151
Note:
See TracChangeset
for help on using the changeset viewer.