Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3575 → Rev 3576

/trunk/kernel/generic/src/main/main.c
328,6 → 328,7
* collide with another CPU coming up. To prevent this, we
* switch to this cpu's private stack prior to waking kmp up.
*/
context_save(&CPU->saved_context);
context_set(&CPU->saved_context, FADDR(main_ap_separated_stack),
(uintptr_t) CPU->stack, CPU_STACK_SIZE);
context_restore(&CPU->saved_context);