diff options
author | Johannes Berg <johannes.berg@intel.com> | 2019-05-27 11:34:26 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-07-03 00:27:29 +0300 |
commit | c7c6f3b95303c7de5d52af56c902fcb5abe827df (patch) | |
tree | e48fa523e8d88879b53967d660e0795d4df8e139 /arch/um/include/shared | |
parent | b00bdd3244005a3a911339b3f977e5fbb21d0879 (diff) | |
download | linux-c7c6f3b95303c7de5d52af56c902fcb5abe827df.tar.xz |
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/shared')
-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, ...) /* 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); |