linux/arch/arm/vdso
Szabolcs Nagy abf09a2bc0 ARM: 8397/1: fix vdsomunge not to depend on glibc specific error.h
commit 13ee9fdba9 upstream.

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@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Fixes: 8512287a81 ("ARM: 8330/1: add VDSO user-space code")
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-08-03 09:29:19 -07:00
..
.gitignore ARM: 8343/1: VDSO: add build artifacts to .gitignore 2015-04-21 15:27:53 +01:00
datapage.S ARM: 8330/1: add VDSO user-space code 2015-03-27 22:20:45 +00:00
Makefile ARM: 8344/1: VDSO: honor CONFIG_VDSO in Makefile 2015-04-21 15:28:02 +01:00
vdso.lds.S ARM: 8330/1: add VDSO user-space code 2015-03-27 22:20:45 +00:00
vdso.S ARM: 8330/1: add VDSO user-space code 2015-03-27 22:20:45 +00:00
vdsomunge.c ARM: 8397/1: fix vdsomunge not to depend on glibc specific error.h 2015-08-03 09:29:19 -07:00
vgettimeofday.c ARM: 8330/1: add VDSO user-space code 2015-03-27 22:20:45 +00:00