Changeset 6abfd250 in mainline for kernel/generic/src/ipc/ipc.c


Ignore:
Timestamp:
2017-09-19T19:18:40Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
866a8f3
Parents:
9e87562
Message:

Rename caps_apply_to_all to caps_apply_to_type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/ipc.c

    r9e87562 r6abfd250  
    790790         */
    791791        restart = false;
    792         if (caps_apply_to_all(TASK, CAP_TYPE_PHONE, phone_cap_wait_cb,
     792        if (caps_apply_to_type(TASK, CAP_TYPE_PHONE, phone_cap_wait_cb,
    793793            &restart)) {
    794794                /* Got into cleanup */
     
    840840
    841841        /* Disconnect all our phones ('ipc_phone_hangup') */
    842         caps_apply_to_all(TASK, CAP_TYPE_PHONE, phone_cap_cleanup_cb, NULL);
     842        caps_apply_to_type(TASK, CAP_TYPE_PHONE, phone_cap_cleanup_cb, NULL);
    843843       
    844844        /* Unsubscribe from any event notifications. */
     
    846846       
    847847        /* Disconnect all connected IRQs */
    848         caps_apply_to_all(TASK, CAP_TYPE_IRQ, irq_cap_cleanup_cb, NULL);
     848        caps_apply_to_type(TASK, CAP_TYPE_IRQ, irq_cap_cleanup_cb, NULL);
    849849       
    850850        /* Disconnect all phones connected to our regular answerbox */
     
    963963        printf("[phone cap] [calls] [state\n");
    964964       
    965         caps_apply_to_all(task, CAP_TYPE_PHONE, print_task_phone_cb, NULL);
     965        caps_apply_to_type(task, CAP_TYPE_PHONE, print_task_phone_cb, NULL);
    966966       
    967967        irq_spinlock_lock(&task->lock, true);
Note: See TracChangeset for help on using the changeset viewer.