Juergen Gross, le lun. 27 nov. 2023 11:25:12 +0100, a ecrit:
> Add the needed instances of EXPORT_SYMBOL() to time.c.
> 
> Signed-off-by: Juergen Gross <jgr...@suse.com>

Reviewed-by: Samuel Thibault <samuel.thiba...@ens-lyon.org>

> ---
> V3:
> - new patch
> ---
>  arch/arm/time.c | 1 +
>  arch/x86/time.c | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/time.c b/arch/arm/time.c
> index a088981e..3483511a 100644
> --- a/arch/arm/time.c
> +++ b/arch/arm/time.c
> @@ -83,6 +83,7 @@ int gettimeofday(struct timeval *tv, void *tz)
>  
>      return 0;
>  }
> +EXPORT_SYMBOL(gettimeofday);
>  
>  /* Set the timer and mask. */
>  void write_timer_ctl(uint32_t value) {
> diff --git a/arch/x86/time.c b/arch/x86/time.c
> index 8077c80c..332c0260 100644
> --- a/arch/x86/time.c
> +++ b/arch/x86/time.c
> @@ -204,7 +204,7 @@ int gettimeofday(struct timeval *tv, void *tz)
>  
>      return 0;
>  }
> -
> +EXPORT_SYMBOL(gettimeofday);
>  
>  void block_domain(s_time_t until)
>  {
> -- 
> 2.35.3
> 

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.

Reply via email to