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

Re: [PATCH v3 17/32] Mini-OS: add EXPORT_SYMBOL() instances to gntmap.c



Juergen Gross, le lun. 27 nov. 2023 11:25:08 +0100, a ecrit:
> Add the needed instances of EXPORT_SYMBOL() to gntmap.c.
> 
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

> ---
> V3:
> - new patch
> ---
>  gntmap.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/gntmap.c b/gntmap.c
> index 3422ab23..5f57d6b3 100644
> --- a/gntmap.c
> +++ b/gntmap.c
> @@ -106,6 +106,7 @@ gntmap_set_max_grants(struct gntmap *map, int count)
>      map->nentries = count;
>      return 0;
>  }
> +EXPORT_SYMBOL(gntmap_set_max_grants);
>  
>  static int
>  _gntmap_unmap_grant_ref(struct gntmap *map, int idx)
> @@ -209,6 +210,7 @@ gntmap_munmap(struct gntmap *map, unsigned long 
> start_address, int count)
>  
>      return 0;
>  }
> +EXPORT_SYMBOL(gntmap_munmap);
>  
>  void*
>  gntmap_map_grant_refs(struct gntmap *map, 
> @@ -251,6 +253,7 @@ gntmap_map_grant_refs(struct gntmap *map,
>  
>      return (void*) addr;
>  }
> +EXPORT_SYMBOL(gntmap_map_grant_refs);
>  
>  void
>  gntmap_init(struct gntmap *map)
> @@ -259,6 +262,7 @@ gntmap_init(struct gntmap *map)
>      map->nentries = 0;
>      map->entries = NULL;
>  }
> +EXPORT_SYMBOL(gntmap_init);
>  
>  void
>  gntmap_fini(struct gntmap *map)
> @@ -281,3 +285,4 @@ gntmap_fini(struct gntmap *map)
>      map->entries = NULL;
>      map->nentries = 0;
>  }
> +EXPORT_SYMBOL(gntmap_fini);
> -- 
> 2.35.3
> 

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



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.