[PATCH] ARM: fix vdsomunge not to depend on glibc specific error.h
Nathan Lynch
Nathan_Lynch at mentor.com
Wed Jul 1 15:11:14 PDT 2015
On 06/30/2015 06:05 AM, Will Deacon wrote:
> 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.
Agreed and thanks; submitted to Russell's patch system as 8397/1.
More information about the linux-arm-kernel
mailing list