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

From: [email-masked] (Will Deacon)
Date: Tue, 30 Jun 2015 12:05:57 +0100

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 <[email-masked]>
> ---
>  arch/arm/vdso/vdsomunge.c |   56 ++++++++++++++++++++++++++-------------------
>  1 file changed, 33 insertions(+), 23 deletions(-)

Looks fine to me:

  Acked-by: Will Deacon <[email-masked]>

Probably worth a Cc stable too.

Will