diff options
author | Johannes Berg <johannes.berg@intel.com> | 2019-05-06 08:39:38 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-07-02 17:27:00 -0400 |
commit | 56fc187065451ebca74edb30d50de5f10a88339b (patch) | |
tree | f1370d263c22e3e6597f2228280d2d5eb88ed8ed /arch/um/include | |
parent | fcd242c6c835dff4b5334b4db870f9fc23a8e7b7 (diff) |
um: Timer code cleanup
There are some unused functions, and some others that have
unused arguments; clean up the timer code a bit.
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 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/um/include/shared/os.h b/arch/um/include/shared/os.h index d579adcb2690..449e71edefaa 100644 --- a/arch/um/include/shared/os.h +++ b/arch/um/include/shared/os.h | |||
@@ -250,15 +250,13 @@ extern void os_warn(const char *fmt, ...) | |||
250 | 250 | ||
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* timer); | 253 | extern int os_timer_create(void); |
254 | extern int os_timer_set_interval(void* timer, void* its); | 254 | extern int os_timer_set_interval(void); |
255 | extern int os_timer_one_shot(unsigned long ticks); | 255 | extern int os_timer_one_shot(unsigned long ticks); |
256 | extern long long os_timer_disable(void); | 256 | extern void os_timer_disable(void); |
257 | extern long os_timer_remain(void* timer); | ||
258 | extern void uml_idle_timer(void); | 257 | extern void uml_idle_timer(void); |
259 | extern long long os_persistent_clock_emulation(void); | 258 | extern long long os_persistent_clock_emulation(void); |
260 | extern long long os_nsecs(void); | 259 | extern long long os_nsecs(void); |
261 | extern long long os_vnsecs(void); | ||
262 | 260 | ||
263 | /* skas/mem.c */ | 261 | /* skas/mem.c */ |
264 | extern long run_syscall_stub(struct mm_id * mm_idp, | 262 | extern long run_syscall_stub(struct mm_id * mm_idp, |