Changeset 67392fa in mainline for kernel/generic/src/ipc/ipc.c


Ignore:
Timestamp:
2009-11-28T15:20:58Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2e07d27e, db4d6de
Parents:
fb7c52f (diff), 59ee56f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Tasks should be allocated from a dedicated slab allocator cache.
(Merge fix for #139).

File:
1 edited

Legend:

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

    rfb7c52f r67392fa  
    583583                for (i = 0; i < IPC_MAX_PHONES; i++) {
    584584                        if (TASK->phones[i].state == IPC_PHONE_HUNGUP &&
    585                             atomic_get(&TASK->phones[i].active_calls) == 0)
     585                            atomic_get(&TASK->phones[i].active_calls) == 0) {
    586586                                TASK->phones[i].state = IPC_PHONE_FREE;
     587                                TASK->phones[i].callee = NULL;
     588                        }
    587589                       
    588590                        /* Just for sure, we might have had some
Note: See TracChangeset for help on using the changeset viewer.