On Monday 03 November 2014 12:06:06 Vincent Guittot wrote:
> On 24 October 2014 16:45, Ivan T. Ivanov <[email protected]> wrote:
> > ---
> > libdl/dl_syscalls.h | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/libdl/dl_syscalls.h b/libdl/dl_syscalls.h
> > index 8d70056..85dc1e9 100644
> > --- a/libdl/dl_syscalls.h
> > +++ b/libdl/dl_syscalls.h
> > @@ -39,6 +39,11 @@
> > #define __NR_sched_getattr 381
> > #endif
> >
> > +#ifdef __aarch64__
> > +#define __NR_sched_setattr 380
> > +#define __NR_sched_getattr 381
> > +#endif
>
> Hi Ivan,
>
> we have same values for __arm__, can't we merge both declaration on one ?
>
arm64 uses 274 and 275 instead of 380 and 381.
Why can't libdl just include asm/unistd.h to get the numbers for the
architecture it's compiling for?
Arnd
_______________________________________________
linaro-dev mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/linaro-dev