Subversion Repositories HelenOS-historic

Rev

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

Rev 1027 Rev 1029
Line 78... Line 78...
78
}
78
}
79
 
79
 
80
/** Disconnect phone */
80
/** Disconnect phone */
81
static void phone_dealloc(int phoneid)
81
static void phone_dealloc(int phoneid)
82
{
82
{
83
    spinlock_lock(TASK->lock);
83
    spinlock_lock(&TASK->lock);
84
 
84
 
85
    ASSERT(TASK->phones[phoneid].callee);
85
    ASSERT(TASK->phones[phoneid].callee);
86
 
86
 
87
    TASK->phones[phoneid].callee = NULL;
87
    TASK->phones[phoneid].callee = NULL;
88
    spinlock_unlock(TASK->lock);
88
    spinlock_unlock(&TASK->lock);
89
}
89
}
90
 
90
 
91
/****************************************************/
91
/****************************************************/
92
/* Functions that preprocess answer before sending
92
/* Functions that preprocess answer before sending
93
 * it to the recepient
93
 * it to the recepient