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

Re: [Minios-devel] [UNIKRAFT PATCH v2 1/2] lib/nolibc: Add _SC_NPROCESSORS_ONLN define



Reviewed-by: Costin Lupu <costin.lupu@xxxxxxxxx>

On 6/10/19 7:15 PM, Vlad-Andrei BĂDOIU (78692) wrote:
> From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
> 
> Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
> ---
>  lib/nolibc/include/unistd.h | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/lib/nolibc/include/unistd.h b/lib/nolibc/include/unistd.h
> index 34dc1f8d..e9b4f348 100644
> --- a/lib/nolibc/include/unistd.h
> +++ b/lib/nolibc/include/unistd.h
> @@ -46,6 +46,12 @@ extern "C" {
>  #define __NEED_size_t
>  #define __NEED_ssize_t
>  #define __NEED_off_t
> +
> +/*
> + * Sysconf name values
> + */
> +#define _SC_NPROCESSORS_ONLN 10
> +
>  #include <nolibc-internal/shareddefs.h>
>  
>  unsigned int sleep(unsigned int seconds);
> 

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

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