X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fproc.c;h=37b36e07d664c9509f9d920c51357b6b5c027f75;hb=33b33ae4a68da6dba63e2cdff3c42edfcfc5ba89;hp=32e3afe8a2f50b317af65291fa9f0d86fcc3f7b2;hpb=dc9c2e09cf5e9837cdd3106c57db749301c5bf95;p=bertos.git diff --git a/bertos/kern/proc.c b/bertos/kern/proc.c index 32e3afe8..37b36e07 100644 --- a/bertos/kern/proc.c +++ b/bertos/kern/proc.c @@ -63,7 +63,6 @@ * \note This function *MUST* preserve also the status of the interrupts. */ EXTERN_C void asm_switch_context(cpustack_t **new_sp, cpustack_t **save_sp); -EXTERN_C int asm_switch_version(void); /* * The scheduer tracks ready and waiting processes @@ -129,8 +128,6 @@ void proc_init(void) proc_init_struct(&MainProcess); CurrentProcess = &MainProcess; - /* Make sure the assembly routine is up-to-date with us */ - ASSERT(asm_switch_version() == 1); MOD_INIT(proc); }