um: Pass nsecs to os timer functions
This makes the code clearer and lets the time travel patch have the actual time used for these functions in just one place. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
committed by
Richard Weinberger
parent
b00bdd3244
commit
c7c6f3b953
@@ -251,8 +251,8 @@ extern void os_warn(const char *fmt, ...)
|
||||
/* time.c */
|
||||
extern void os_idle_sleep(unsigned long long nsecs);
|
||||
extern int os_timer_create(void);
|
||||
extern int os_timer_set_interval(void);
|
||||
extern int os_timer_one_shot(unsigned long ticks);
|
||||
extern int os_timer_set_interval(unsigned long long nsecs);
|
||||
extern int os_timer_one_shot(unsigned long long nsecs);
|
||||
extern void os_timer_disable(void);
|
||||
extern void uml_idle_timer(void);
|
||||
extern long long os_persistent_clock_emulation(void);
|
||||
|
||||
Reference in New Issue
Block a user