diff --git a/patch/patches/linux_arm_1292951.patch b/patch/patches/linux_arm_1292951.patch index 558e2821f..1c3a9cd37 100644 --- a/patch/patches/linux_arm_1292951.patch +++ b/patch/patches/linux_arm_1292951.patch @@ -1,18 +1,13 @@ diff --git linux_syscall_support.h linux_syscall_support.h -index e4e816f..bbbd338 100644 +index e4e816f..5ea1295 100644 --- linux_syscall_support.h +++ linux_syscall_support.h -@@ -4861,7 +4861,12 @@ struct kernel_statfs { - size_t count, loff_t off) { - union { loff_t off; unsigned arg[2]; } o = { off }; - return LSS_NAME(_pwrite64)(fd, buf, count, -- LSS_LLARG_PAD o.arg[0], o.arg[1]); -+ LSS_LLARG_PAD o.arg[0], -+#if !defined(__ARM_EABI__) && !defined(__mips__) -+ static_cast(o.arg[1])); -+#else -+ o.arg[1]); -+#endif - } - LSS_INLINE int LSS_NAME(readahead)(int fd, loff_t off, size_t count) { - union { loff_t off; unsigned arg[2]; } o = { off }; +@@ -4842,7 +4842,7 @@ struct kernel_statfs { + unsigned, o2) + LSS_INLINE _syscall5(ssize_t, _pwrite64, int, f, + const void *, b, size_t, c, unsigned, o1, +- long, o2) ++ unsigned, o2) + LSS_INLINE _syscall4(int, _readahead, int, f, + unsigned, o1, unsigned, o2, size_t, c) + #endif