|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 09/32] Mini-OS: add EXPORT_SYMBOL() instances to lib/math.c
Juergen Gross, le lun. 27 nov. 2023 11:25:00 +0100, a ecrit:
> Add the needed instances of EXPORT_SYMBOL() to lib/math.c.
>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
> ---
> V3:
> - new patch
> ---
> lib/math.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/lib/math.c b/lib/math.c
> index b98cc1d2..9ee9fcdb 100644
> --- a/lib/math.c
> +++ b/lib/math.c
> @@ -338,6 +338,7 @@ __qdivrem(u_quad_t uq, u_quad_t vq, u_quad_t *arq)
> tmp.ul[L] = COMBINE(qspace[3], qspace[4]);
> return (tmp.q);
> }
> +EXPORT_SYMBOL(__qdivrem);
>
> /*
> * From
> @@ -365,6 +366,7 @@ __divdi3(quad_t a, quad_t b)
> uq = __qdivrem(ua, ub, (u_quad_t *)0);
> return (neg ? -uq : uq);
> }
> +EXPORT_SYMBOL(__divdi3);
>
> /*
> * From
> @@ -379,6 +381,7 @@ __udivdi3(u_quad_t a, u_quad_t b)
> {
> return (__qdivrem(a, b, (u_quad_t *)0));
> }
> +EXPORT_SYMBOL(__udivdi3);
>
> /*
> * From
> @@ -396,6 +399,7 @@ __umoddi3(u_quad_t a, u_quad_t b)
> (void)__qdivrem(a, b, &r);
> return (r);
> }
> +EXPORT_SYMBOL(__umoddi3);
>
> /*
> * Returns the quotient and places remainder in r
> @@ -405,6 +409,7 @@ __udivmoddi4(u_quad_t a, u_quad_t b, u_quad_t *r)
> {
> return __qdivrem(a, b, r);
> }
> +EXPORT_SYMBOL(__udivmoddi4);
>
> /*
> * From
> @@ -434,3 +439,4 @@ __moddi3(quad_t a, quad_t b)
> (void)__qdivrem(ua, ub, &ur);
> return (neg ? -ur : ur);
> }
> +EXPORT_SYMBOL(__moddi3);
> --
> 2.35.3
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |