X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fpreempt.c;h=f77dd85eff1c632bbd73adf1053b350140cfc1ca;hb=938512200c9fbd8e08c88dbdddbdc1f030d3b663;hp=065faed88e17823eace2972fcd754927f0326f6e;hpb=d9d931610bca1df6ceb9227eacc9ff2c7f89b77a;p=bertos.git diff --git a/bertos/kern/preempt.c b/bertos/kern/preempt.c index 065faed8..f77dd85e 100644 --- a/bertos/kern/preempt.c +++ b/bertos/kern/preempt.c @@ -102,14 +102,6 @@ CONFIG_DEPEND(CONFIG_KERN_PREEMPT, CONFIG_KERN); MOD_DEFINE(preempt) -/** - * CPU dependent context switching routines. - * - * Saving and restoring the context on the stack is done by a CPU-dependent - * support routine which usually needs to be written in assembly. - */ -EXTERN_C void asm_switch_context(cpu_stack_t **new_sp, cpu_stack_t **save_sp); - /* Global preemption nesting counter */ cpu_atomic_t preempt_count;