Rev 2071 | Rev 3578 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 2107 | ||
---|---|---|---|
Line 111... | Line 111... | ||
111 | break; |
111 | break; |
112 | } |
112 | } |
113 | 113 | ||
114 | itm_write(m); |
114 | itm_write(m); |
115 | srlz_d(); /* propagate changes */ |
115 | srlz_d(); /* propagate changes */ |
116 | 116 | ||
- | 117 | /* |
|
- | 118 | * We are holding a lock which prevents preemption. |
|
- | 119 | * Release the lock, call clock() and reacquire the lock again. |
|
- | 120 | */ |
|
- | 121 | spinlock_unlock(&irq->lock); |
|
117 | clock(); |
122 | clock(); |
- | 123 | spinlock_lock(&irq->lock); |
|
118 | } |
124 | } |
119 | 125 | ||
120 | /** @} |
126 | /** @} |
121 | */ |
127 | */ |