diff options
Diffstat (limited to 'arch/um/os-Linux/time.c')
| -rw-r--r-- | arch/um/os-Linux/time.c | 14 | 
1 files changed, 6 insertions, 8 deletions
diff --git a/arch/um/os-Linux/time.c b/arch/um/os-Linux/time.c index 6e3359d6a83..e9824d5dd7d 100644 --- a/arch/um/os-Linux/time.c +++ b/arch/um/os-Linux/time.c @@ -8,11 +8,9 @@  #include <signal.h>  #include <time.h>  #include <sys/time.h> -#include "kern_constants.h" -#include "kern_util.h" -#include "os.h" -#include "process.h" -#include "user.h" +#include <kern_util.h> +#include <os.h> +#include "internal.h"  int set_interval(void)  { @@ -81,7 +79,7 @@ long long os_nsecs(void)  	return timeval_to_ns(&tv);  } -#ifdef UML_CONFIG_NO_HZ +#ifdef UML_CONFIG_NO_HZ_COMMON  static int after_sleep_interval(struct timespec *ts)  {  	return 0; @@ -89,7 +87,7 @@ static int after_sleep_interval(struct timespec *ts)  static void deliver_alarm(void)  { -	alarm_handler(SIGVTALRM, NULL); +	alarm_handler(SIGVTALRM, NULL, NULL);  }  static unsigned long long sleep_time(unsigned long long nsecs) @@ -116,7 +114,7 @@ static void deliver_alarm(void)  	skew += this_tick - last_tick;  	while (skew >= one_tick) { -		alarm_handler(SIGVTALRM, NULL); +		alarm_handler(SIGVTALRM, NULL, NULL);  		skew -= one_tick;  	}  | 
