Subversion Repositories HelenOS

Rev

Rev 3433 | Rev 3536 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3433 Rev 3471
Line 41... Line 41...
41
#include <synch/spinlock.h>
41
#include <synch/spinlock.h>
42
#include <synch/mutex.h>
42
#include <synch/mutex.h>
43
#include <synch/waitq.h>
43
#include <synch/waitq.h>
44
#include <synch/synch.h>
44
#include <synch/synch.h>
45
#include <ipc/ipc.h>
45
#include <ipc/ipc.h>
46
#include <ipc/ipc_kbox.h>
46
#include <ipc/kbox.h>
47
#include <errno.h>
47
#include <errno.h>
48
#include <mm/slab.h>
48
#include <mm/slab.h>
49
#include <arch.h>
49
#include <arch.h>
50
#include <proc/task.h>
50
#include <proc/task.h>
51
#include <memstr.h>
51
#include <memstr.h>
Line 571... Line 571...
571
            SYNCH_FLAGS_NONE);
571
            SYNCH_FLAGS_NONE);
572
        ASSERT((call->flags & IPC_CALL_ANSWERED) ||
572
        ASSERT((call->flags & IPC_CALL_ANSWERED) ||
573
            (call->flags & IPC_CALL_NOTIF));
573
            (call->flags & IPC_CALL_NOTIF));
574
        ASSERT(!(call->flags & IPC_CALL_STATIC_ALLOC));
574
        ASSERT(!(call->flags & IPC_CALL_STATIC_ALLOC));
575
       
575
       
-
 
576
        if (!(call->flags & IPC_CALL_DISCARD_ANSWER))
576
        atomic_dec(&TASK->active_calls);
577
            atomic_dec(&TASK->active_calls);
577
        ipc_call_free(call);
578
        ipc_call_free(call);
578
    }
579
    }
579
}
580
}
580
 
581
 
581
 
582