[PATCH] ARM: fix vdsomunge not to depend on glibc specific error.h

Will Deacon will.deacon at arm.com
Tue Jun 30 04:05:57 PDT 2015

On Tue, Jun 30, 2015 at 11:48:29AM +0100, Szabolcs Nagy wrote:
> If the host toolchain is not glibc based then the arm kernel build
> fails with
>  arch/arm/vdso/vdsomunge.c:53:19: fatal error: error.h: No such file or directory
> error.h is a glibc only header (ie not available in musl, newlib and
> bsd libcs).  Changed the error reporting to standard conforming code
> to avoid depending on specific C implementations.
> Signed-off-by: Szabolcs Nagy <szabolcs.nagy at arm.com>
> ---
>  arch/arm/vdso/vdsomunge.c |   56 ++++++++++++++++++++++++++-------------------
>  1 file changed, 33 insertions(+), 23 deletions(-)

Looks fine to me:

  Acked-by: Will Deacon <will.deacon at arm.com>

Probably worth a Cc stable too.


More information about the linux-arm-kernel mailing list