Typo; proc_preempt_timer -> proc_preempt.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 26 Aug 2008 09:44:50 +0000 (09:44 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 26 Aug 2008 09:44:50 +0000 (09:44 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1704 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/kern/preempt.c

index a9201f61cb7a8413e093d77038e128620d536a1e..85aab8ea05a3e19eab9d976efbbbff753f1d42c7 100644 (file)
@@ -87,7 +87,7 @@ void proc_schedule(void)
        TRACEMSG("launching %p:%s", CurrentProcess, proc_currentName());
 }
 
-void proc_preempt(UNUSED_ARG(void *, param)
+void proc_preempt(UNUSED_ARG(void *, param))
 {
        if (!preempt_forbid_cnt)
        {
@@ -155,7 +155,7 @@ void preempt_init(void)
 
        irq_register(SIGUSR1, proc_schedule);
 
-       timer_setSoftint(&preempt_timer, proc_preempt_timer, NULL);
+       timer_setSoftint(&preempt_timer, proc_preempt, NULL);
        timer_setDelay(&preempt_timer, CONFIG_KERN_QUANTUM);
        timer_add(&preempt_timer);