Changeset be06914 in mainline for kernel/generic/src/ipc/ipc.c
- Timestamp:
- 2010-06-11T12:41:35Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b3b7e14a
- Parents:
- 48dcc69
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
r48dcc69 rbe06914 442 442 irq_spinlock_lock(&box->lock, true); 443 443 if (!list_empty(&box->irq_notifs)) { 444 /* Count rec ieved IRQ notification */444 /* Count received IRQ notification */ 445 445 irq_cnt++; 446 446 … … 452 452 irq_spinlock_unlock(&box->irq_lock, false); 453 453 } else if (!list_empty(&box->answers)) { 454 /* Count rec ieved answer */454 /* Count received answer */ 455 455 answer_cnt++; 456 456 … … 460 460 atomic_dec(&request->data.phone->active_calls); 461 461 } else if (!list_empty(&box->calls)) { 462 /* Count rec ieved call */462 /* Count received call */ 463 463 call_cnt++; 464 464 … … 477 477 irq_spinlock_pass(&box->lock, &TASK->lock); 478 478 479 TASK->ipc_info.irq_notif_rec ieved += irq_cnt;480 TASK->ipc_info.answer_rec ieved += answer_cnt;481 TASK->ipc_info.call_rec ieved += call_cnt;479 TASK->ipc_info.irq_notif_received += irq_cnt; 480 TASK->ipc_info.answer_received += answer_cnt; 481 TASK->ipc_info.call_received += call_cnt; 482 482 483 483 irq_spinlock_unlock(&TASK->lock, true);
Note:
See TracChangeset
for help on using the changeset viewer.