Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 1433 → Rev 1434

/kernel/trunk/generic/src/ipc/sysipc.c/sysipc.c
151,6 → 151,7
if (!IPC_GET_RETVAL(answer->data)) {
ipl_t ipl;
as_t *as;
int rc;
ipl = interrupts_disable();
spinlock_lock(&answer->sender->lock);
158,8 → 159,9
spinlock_unlock(&answer->sender->lock);
interrupts_restore(ipl);
return as_area_share(AS, IPC_GET_ARG1(answer->data), IPC_GET_ARG2(*olddata),
rc = as_area_share(AS, IPC_GET_ARG1(answer->data), IPC_GET_ARG2(*olddata),
as, IPC_GET_ARG1(*olddata), IPC_GET_ARG3(*olddata));
IPC_SET_RETVAL(answer->data, rc);
}
}
return 0;