From: Nicolas Pitre Date: Fri, 5 May 2006 21:35:05 +0000 (+0100) Subject: [ARM] 3495/1: EABI: undefine removed syscalls, but... X-Git-Tag: v2.6.17-rc4~36 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=568cb09b9d889b6f2852ede19772b8e9eed36c1e;p=linux-2.6-omap-h63xx.git [ARM] 3495/1: EABI: undefine removed syscalls, but... Patch from Nicolas Pitre ... but only for user space. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King --- diff --git a/include/asm-arm/unistd.h b/include/asm-arm/unistd.h index 26f2f4828e0..cbf39a56dbe 100644 --- a/include/asm-arm/unistd.h +++ b/include/asm-arm/unistd.h @@ -363,7 +363,7 @@ /* * The following syscalls are obsolete and no longer available for EABI. */ -#if defined(__ARM_EABI__) +#if defined(__ARM_EABI__) && !defined(__KERNEL__) #undef __NR_time #undef __NR_umount #undef __NR_stime