X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fproc.h;h=482fb7a39708f3a1193f1e0b2689322dded7bbbe;hb=1815e3dc48701e41cd28cd6241398b972bedba50;hp=50289a8a6adf8505defbade9ce4de7f951e2065a;hpb=8200b51bd42e69333cbb3d50532bbd8b45201da2;p=bertos.git diff --git a/bertos/kern/proc.h b/bertos/kern/proc.h index 50289a8a..482fb7a3 100644 --- a/bertos/kern/proc.h +++ b/bertos/kern/proc.h @@ -26,15 +26,13 @@ * invalidate any other reasons why the executable file might be covered by * the GNU General Public License. * - * Copyright 2001,2004 Develer S.r.l. (http://www.develer.com/) - * Copyright 1999,2000,2001 Bernie Innocenti - * + * Copyright 2001, 2004 Develer S.r.l. (http://www.develer.com/) + * Copyright 1999, 2000, 2001, 2008 Bernie Innocenti * --> * * \brief Process scheduler (public interface). * * \version $Id$ - * * \author Bernie Innocenti */ #ifndef KERN_PROC_H @@ -70,7 +68,7 @@ struct Process *proc_current(void); iptr_t proc_current_user_data(void); void proc_rename(struct Process *proc, const char* name); -#if CONFIG_KERN_PREEMPTIVE +#if CONFIG_KERN_PREEMPT void proc_forbid(void); void proc_permit(void); #else @@ -142,5 +140,5 @@ void proc_rename(struct Process *proc, const char* name); #error No cpustack_t size supported! #endif #endif -#endif /* KERN_PROC_H */ +#endif /* KERN_PROC_H */