diff options
Diffstat (limited to 'arch/um/os-Linux/time.c')
-rw-r--r-- | arch/um/os-Linux/time.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/um/os-Linux/time.c b/arch/um/os-Linux/time.c index 5de169b..5eb32d2 100644 --- a/arch/um/os-Linux/time.c +++ b/arch/um/os-Linux/time.c @@ -30,13 +30,6 @@ int set_interval(int is_virtual) return 0; } -#ifdef UML_CONFIG_MODE_TT -void enable_timer(void) -{ - set_interval(1); -} -#endif - void disable_timer(void) { struct itimerval disable = ((struct itimerval) { { 0, 0 }, { 0, 0 }}); @@ -71,18 +64,6 @@ void switch_timers(int to_real) errno); } -#ifdef UML_CONFIG_MODE_TT -void uml_idle_timer(void) -{ - if(signal(SIGVTALRM, SIG_IGN) == SIG_ERR) - panic("Couldn't unset SIGVTALRM handler"); - - set_handler(SIGALRM, (__sighandler_t) alarm_handler, - SA_RESTART, SIGUSR1, SIGIO, SIGWINCH, SIGVTALRM, -1); - set_interval(0); -} -#endif - unsigned long long os_nsecs(void) { struct timeval tv; |