Re: [PATCH] LoongArch: Remove posix_types.h include from sigcontext.h

From: Xi Ruoyao
Date: Thu Aug 29 2024 - 03:30:31 EST


On Wed, 2024-08-28 at 12:43 +0800, Huacai Chen wrote:
> On Wed, Aug 28, 2024 at 12:27 PM Xi Ruoyao <xry111@xxxxxxxxxxx> wrote:
> >
> > On Wed, 2024-08-28 at 12:11 +0800, Huacai Chen wrote:
> > > Hi, Ruoyao,
> > >
> > > Just some questions:
> > > 1, Changing UAPI is not a good idea.
> >
> > But removing unneeded includes from UAPI is fine.  For example, the
> > commit 44e0b165b6c078b84767da4ba06ffa27af562c96 has removed
> > linux/posix_types.h from termbits.h for all ports.
> Need more tests, not just kselftests.

I've built and tested Glibc with this change. But if you want a full
system rebuild it won't happen in the next few months, and I can resend
the patch after the next time I rebuild the system.


--
Xi Ruoyao <xry111@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University