]> err.no Git - linux-2.6/commitdiff
[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 26f2f4828e03f323cbfbba8aaee686c1e4442fef..cbf39a56dbe768db84f96396ebf77823cc525c3d 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