nios2 sys/cachectl.h includes nonexistent asm/cachectl.h
Mike Frysinger
vapier@gentoo.org
Sun Nov 27 07:14:00 GMT 2016
On 16 Nov 2016 18:45, Joseph Myers wrote:
> On Tue, 15 Nov 2016, Mike Frysinger wrote:
> > On 04 Nov 2016 21:37, Joseph Myers wrote:
> > > nios2 glibc compile-only test results include:
> > >
> > > FAIL: misc/check-installed-headers-c
> > > FAIL: misc/check-installed-headers-cxx
> > >
> > > This is because sys/cachectl.h includes asm/cachectl.h, and the Linux
> > > kernel has no such header. How is this meant to work? Should that
> > > #include just be removed?
> >
> > delete it for now. looks like they speced it out for future usage,
> > but haven't yet gotten around to it. the kernel will explicitly
> > throw an error if the |op| field is non-zero.
>
> This patch does that.
>
> Do not include asm/cachectl.h in nios2 sys/cachectl.h.
>
> The nios2 sys/cachectl.h includes a kernel header asm/cachectl.h,
> which does not exist, so causing the check-installed-headers tests to
> fail. This patch removes the include of a nonexistent header.
lgtm
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20161127/dae98a30/attachment.sig>
More information about the Libc-alpha
mailing list