aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2019-05-27 04:34:26 -0400
committerRichard Weinberger <richard@nod.at>2019-07-02 17:27:29 -0400
commitc7c6f3b95303c7de5d52af56c902fcb5abe827df (patch)
treee48fa523e8d88879b53967d660e0795d4df8e139 /arch/um/include
parentb00bdd3244005a3a911339b3f977e5fbb21d0879 (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.h4
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 */
252extern void os_idle_sleep(unsigned long long nsecs); 252extern void os_idle_sleep(unsigned long long nsecs);
253extern int os_timer_create(void); 253extern int os_timer_create(void);
254extern int os_timer_set_interval(void); 254extern int os_timer_set_interval(unsigned long long nsecs);
255extern int os_timer_one_shot(unsigned long ticks); 255extern int os_timer_one_shot(unsigned long long nsecs);
256extern void os_timer_disable(void); 256extern void os_timer_disable(void);
257extern void uml_idle_timer(void); 257extern void uml_idle_timer(void);
258extern long long os_persistent_clock_emulation(void); 258extern long long os_persistent_clock_emulation(void);