[ARM] 3495/1: EABI: undefine removed syscalls, but...
authorNicolas Pitre <nico@cam.org>
Fri, 5 May 2006 21:35:05 +0000 (22:35 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 5 May 2006 21:35:05 +0000 (22:35 +0100)
Patch from Nicolas Pitre

... but only for user space.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

include/asm-arm/unistd.h

index 26f2f48..cbf39a5 100644 (file)
 /*
  * 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