timer: fix incorrect nano_fiber_lifo_put in ISR

The correct call is nano_isr_lifo_put, but they are aliases of each
other, so that never caused an issue at runtime.

Change-Id: Ibec8e6d3377133e5e67589c5a3ad1b8fb3cc652c
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
Benjamin Walsh 2015-05-01 16:49:26 -04:00 committed by Anas Nashif
parent 8678e3a9a8
commit 0c798772cc
4 changed files with 4 additions and 4 deletions

View file

@ -160,7 +160,7 @@ void _timer_int_handler(void *unused)
struct nano_lifo *lifo = &expired->lifo;
_nano_timer_list = expired->link;
nano_fiber_lifo_put(lifo, expired->userData);
nano_isr_lifo_put(lifo, expired->userData);
}
}
}

View file

@ -350,7 +350,7 @@ void _timer_int_handler(void *unused)
struct nano_timer *expired = _nano_timer_list;
struct nano_lifo *chan = &expired->lifo;
_nano_timer_list = expired->link;
nano_fiber_lifo_put(chan, expired->userData);
nano_isr_lifo_put(chan, expired->userData);
}
}
#endif /* CONFIG_MICROKERNEL */

View file

@ -356,7 +356,7 @@ void _timer_int_handler(void *unused /* parameter is not used */
struct nano_timer *expired = _nano_timer_list;
struct nano_lifo *chan = &expired->lifo;
_nano_timer_list = expired->link;
nano_fiber_lifo_put(chan, expired->userData);
nano_isr_lifo_put(chan, expired->userData);
}
}
#endif /* CONFIG_NANOKERNEL */

View file

@ -325,7 +325,7 @@ void _timer_int_handler(void *unusedArg /* not used */
struct nano_timer *expired = _nano_timer_list;
struct nano_lifo *chan = &expired->lifo;
_nano_timer_list = expired->link;
nano_fiber_lifo_put(chan, expired->userData);
nano_isr_lifo_put(chan, expired->userData);
}
}
#endif /* CONFIG_NANOKERNEL */