Changeset 3dea17f in mainline for kernel/arch/ppc32/src
- Timestamp:
- 2006-10-19T17:33:08Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f0450658
- Parents:
- 80ca47e
- Location:
- kernel/arch/ppc32/src/drivers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/drivers/cuda.c
r80ca47e r3dea17f 274 274 void cuda_grab(void) 275 275 { 276 ipl_t ipl = interrupts_disable(); 277 spinlock_lock(&cuda_irq.lock); 276 278 cuda_irq.notif_cfg.notify = false; 279 spinlock_unlock(&cuda_irq.lock); 280 interrupts_restore(ipl); 277 281 } 278 282 … … 281 285 void cuda_release(void) 282 286 { 287 ipl_t ipl = interrupts_disable(); 288 spinlock_lock(&cuda_irq.lock); 283 289 if (cuda_irq.notif_cfg.answerbox) 284 290 cuda_irq.notif_cfg.notify = true; 291 spinlock_unlock(&cuda_irq.unlock); 292 interrupts_restore(ipl); 285 293 } 286 294 -
kernel/arch/ppc32/src/drivers/pic.c
r80ca47e r3dea17f 46 46 } 47 47 48 49 50 48 void pic_enable_interrupt(int intnum) 51 49 {
Note:
See TracChangeset
for help on using the changeset viewer.