diff --git a/include/asm-arm/unistd.h b/include/asm-arm/unistd.h index 26f2f4828e03f323cbfbba8aaee686c1e4442fef..cbf39a56dbe768db84f96396ebf77823cc525c3d 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