From: Nicolas Pitre Date: Mon, 29 Aug 2005 21:46:32 +0000 (+0100) Subject: [ARM] 2858/1: ARM has sys_fadvise64_64 only X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cb85a502e0c2019d8bc302b011150bd62ecf70ab;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [ARM] 2858/1: ARM has sys_fadvise64_64 only Patch from Nicolas Pitre There is no need to define __ARCH_WANT_SYS_FADVISE64 on ARM since it only serves to compile in a compatibility wrapper for sys_fadvise64 which never was tied to any syscall number. 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 abb36e54c96..94619ccee78 100644 --- a/include/asm-arm/unistd.h +++ b/include/asm-arm/unistd.h @@ -515,7 +515,6 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5, type6 arg6 #define __ARCH_WANT_SYS_TIME #define __ARCH_WANT_SYS_UTIME #define __ARCH_WANT_SYS_SOCKETCALL -#define __ARCH_WANT_SYS_FADVISE64 #define __ARCH_WANT_SYS_GETPGRP #define __ARCH_WANT_SYS_LLSEEK #define __ARCH_WANT_SYS_NICE