Rev 4629 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4629 | Rev 4632 | ||
---|---|---|---|
Line 211... | Line 211... | ||
211 | { |
211 | { |
212 | /* |
212 | /* |
213 | * We are holding a lock which prevents preemption. |
213 | * We are holding a lock which prevents preemption. |
214 | * Release the lock, call clock() and reacquire the lock again. |
214 | * Release the lock, call clock() and reacquire the lock again. |
215 | */ |
215 | */ |
- | 216 | ||
216 | *((uint32_t*) qemu_icp_hw_map.rtc1_intrclr) = 1; |
217 | *((uint32_t*) qemu_icp_hw_map.rtc1_intrclr) = 1; |
217 | spinlock_unlock(&irq->lock); |
218 | spinlock_unlock(&irq->lock); |
218 | clock(); |
219 | clock(); |
219 | spinlock_lock(&irq->lock); |
220 | spinlock_lock(&irq->lock); |
220 | 221 |