diff options
author | Johannes Berg <johannes.berg@intel.com> | 2019-05-27 04:34:26 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-07-02 17:27:29 -0400 |
commit | c7c6f3b95303c7de5d52af56c902fcb5abe827df (patch) | |
tree | e48fa523e8d88879b53967d660e0795d4df8e139 /arch/um/include | |
parent | b00bdd3244005a3a911339b3f977e5fbb21d0879 (diff) |
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>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/shared/os.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/include/shared/os.h b/arch/um/include/shared/os.h index 449e71edefaa..4a62ac4251a5 100644 --- a/arch/um/include/shared/os.h +++ b/arch/um/include/shared/os.h | |||
@@ -251,8 +251,8 @@ extern void os_warn(const char *fmt, ...) | |||
251 | /* time.c */ | 251 | /* time.c */ |
252 | extern void os_idle_sleep(unsigned long long nsecs); | 252 | extern void os_idle_sleep(unsigned long long nsecs); |
253 | extern int os_timer_create(void); | 253 | extern int os_timer_create(void); |
254 | extern int os_timer_set_interval(void); | 254 | extern int os_timer_set_interval(unsigned long long nsecs); |
255 | extern int os_timer_one_shot(unsigned long ticks); | 255 | extern int os_timer_one_shot(unsigned long long nsecs); |
256 | extern void os_timer_disable(void); | 256 | extern void os_timer_disable(void); |
257 | extern void uml_idle_timer(void); | 257 | extern void uml_idle_timer(void); |
258 | extern long long os_persistent_clock_emulation(void); | 258 | extern long long os_persistent_clock_emulation(void); |