Changeset 82cbf8c6 in mainline for kernel/generic/src/ipc/irq.c
- Timestamp:
- 2017-10-08T19:37:24Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2fd26bb
- Parents:
- 81b9d3e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/irq.c
r81b9d3e r82cbf8c6 298 298 irq_code_t *ucode) 299 299 { 300 sysarg_t key[] = {301 [IRQ_HT_KEY_INR] = (sysarg_t) inr,302 [IRQ_HT_KEY_MODE] = (sysarg_t) IRQ_HT_MODE_NO_CLAIM303 };304 305 300 if ((inr < 0) || (inr > last_inr)) 306 301 return ELIMIT; … … 351 346 352 347 irq->notif_cfg.hashed_in = true; 353 hash_table_insert(&irq_uspace_hash_table, key,&irq->link);348 hash_table_insert(&irq_uspace_hash_table, &irq->link); 354 349 355 350 irq_spinlock_unlock(&irq->lock, false); … … 388 383 } 389 384 390 /* kobj->irq->lock unlocked by the hash table remove_callback */385 irq_spinlock_unlock(&kobj->irq->lock, false); 391 386 irq_spinlock_unlock(&irq_uspace_hash_table_lock, true); 392 387
Note:
See TracChangeset
for help on using the changeset viewer.