X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fproc.c;h=6bf67a80c189e72040ae0bbc525b1b3f14fcfe51;hb=a1a1e5f2ebbf681b7cf966481a1929e0542d7c3a;hp=57cda38452f6677c9eb41b658024c7fcb104b232;hpb=05248535066bcff365b2aa6c9c3b7fa0e5a4f475;p=bertos.git diff --git a/bertos/kern/proc.c b/bertos/kern/proc.c index 57cda384..6bf67a80 100644 --- a/bertos/kern/proc.c +++ b/bertos/kern/proc.c @@ -157,7 +157,7 @@ void proc_init(void) * \endcode * is a more convenient way to create a process, as you don't have to specify * the name. - * + * * \return Process structure of new created process * if successful, NULL otherwise. */ @@ -252,9 +252,9 @@ struct Process *proc_new_with_name(UNUSED_ARG(const char *, name), void (*entry) makecontext(&proc->context, (void (*)(void))proc_entry, 1, entry); #else // !CONFIG_KERN_PREEMPT - + CPU_CREATE_NEW_STACK(proc->stack, entry, proc_exit); - + #endif // CONFIG_KERN_PREEMPT #if CONFIG_KERN_MONITOR