Re: [PATCH resend 3/4] uapi glibc compat: Do not check for __USE_MISC

From: David Miller
Date: Mon Apr 17 2017 - 12:55:50 EST


From: Hauke Mehrtens <hauke@xxxxxxxxxx>
Date: Wed, 12 Apr 2017 22:31:02 +0200

> __USE_MISC is glibc specific and not available in musl libc. Only do
> this check when glibc is used. This fixes a problem with musl libc.
>
> Acked-by: Mikko Rapeli <mikko.rapeli@xxxxxx>
> Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>

You yourself introduce this problem in patch #1.

The code before patch #1 was perfectly fine, as this code block only
existing in an area protected by __GLIBC__.

So you have to redo these patches such that you deal with all of
the fallout from changing __GLIBC__ into !__KERNEL__ at the same
time that you make that change.

Thanks.