SOURCES: suspend-sys-file-range-write.patch (NEW) - undefine SYS_s...

wolf wolf at pld-linux.org
Sun Mar 4 13:53:45 CET 2007


Author: wolf                         Date: Sun Mar  4 12:53:45 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- undefine SYS_sync_file_range, probably will break something

---- Files affected:
SOURCES:
   suspend-sys-file-range-write.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/suspend-sys-file-range-write.patch
diff -u /dev/null SOURCES/suspend-sys-file-range-write.patch:1.1
--- /dev/null	Sun Mar  4 13:53:45 2007
+++ SOURCES/suspend-sys-file-range-write.patch	Sun Mar  4 13:53:40 2007
@@ -0,0 +1,14 @@
+diff -ruN suspend./swsusp.h suspend/swsusp.h
+--- suspend./swsusp.h	2007-03-04 13:51:37.002038348 +0100
++++ suspend/swsusp.h	2007-03-04 13:51:06.737655370 +0100
+@@ -153,6 +153,10 @@
+ 		LINUX_REBOOT_CMD_POWER_OFF, 0);
+ }
+ 
++#ifdef SYS_sync_file_range
++#undef SYS_sync_file_range
++#endif
++
+ #ifndef SYS_sync_file_range
+  #ifdef __i386__
+   #define SYS_sync_file_range	314
================================================================


More information about the pld-cvs-commit mailing list