bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH Mach] kern: Comment fixed


From: Samuel Thibault
Subject: Re: [PATCH Mach] kern: Comment fixed
Date: Tue, 24 Dec 2024 15:07:38 +0100

Applied, thanks!

Zhaoming Luo, le mar. 24 déc. 2024 10:44:17 +0800, a ecrit:
> Read also:
> https://mail.gnu.org/archive/html/bug-hurd/2024-12/msg00219.html
> 
> Signed-off-by: Zhaoming Luo <zhmingluo@163.com>
> ---
>  kern/mach_clock.c | 2 +-
>  kern/mach_clock.h | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/kern/mach_clock.c b/kern/mach_clock.c
> index 4b953650..24609353 100644
> --- a/kern/mach_clock.c
> +++ b/kern/mach_clock.c
> @@ -68,7 +68,7 @@
>  
>  int          hz = HZ;                /* number of ticks per second */
>  int          tick = (MICROSECONDS_IN_ONE_SECOND / HZ);       /* number of 
> usec per tick */
> -time_value64_t       time = { 0, 0 };        /* time since bootup 
> (uncorrected) */
> +time_value64_t       time = { 0, 0 };        /* wallclock time (unadjusted) 
> */
>  unsigned long        elapsed_ticks = 0;      /* ticks elapsed since bootup */
>  
>  int          timedelta = 0;
> diff --git a/kern/mach_clock.h b/kern/mach_clock.h
> index 66903b8a..04ed4b99 100644
> --- a/kern/mach_clock.h
> +++ b/kern/mach_clock.h
> @@ -40,7 +40,7 @@ extern unsigned long        elapsed_ticks;  /* number of 
> ticks elapsed since bootup */
>  extern int           hz;             /* number of ticks per second */
>  extern int           tick;           /* number of usec per tick */
>  
> -extern time_value64_t        time;           /* time since bootup 
> (uncorrected) */
> +extern time_value64_t        time;           /* wallclock time (unadjusted) 
> */
>  
>  typedef void timer_func_t(void *);
>  
> -- 
> 2.45.2
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]