Explorar o código

[ARM] 3495/1: EABI: undefine removed syscalls, but...

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>
Nicolas Pitre %!s(int64=19) %!d(string=hai) anos
pai
achega
568cb09b9d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/asm-arm/unistd.h

+ 1 - 1
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