SOURCES (LINUX_2_6): linux-2.6-suspend2-avoid-redef.patch - do it ...
baggins
baggins at pld-linux.org
Fri May 5 17:57:26 CEST 2006
Author: baggins Date: Fri May 5 15:57:26 2006 GMT
Module: SOURCES Tag: LINUX_2_6
---- Log message:
- do it the hard way
---- Files affected:
SOURCES:
linux-2.6-suspend2-avoid-redef.patch (1.1.2.1 -> 1.1.2.2)
---- Diffs:
================================================================
Index: SOURCES/linux-2.6-suspend2-avoid-redef.patch
diff -u SOURCES/linux-2.6-suspend2-avoid-redef.patch:1.1.2.1 SOURCES/linux-2.6-suspend2-avoid-redef.patch:1.1.2.2
--- SOURCES/linux-2.6-suspend2-avoid-redef.patch:1.1.2.1 Fri May 5 17:35:56 2006
+++ SOURCES/linux-2.6-suspend2-avoid-redef.patch Fri May 5 17:57:20 2006
@@ -4,23 +4,10 @@
static inline void frozen_process(struct task_struct *p) { BUG(); }
static inline void refrigerator(void) {}
-+#ifndef freeze_processes
++#if 0
static inline int freeze_processes(void) { BUG(); return 0; }
static inline void thaw_processes(int which_threads) {}
+#endif
static inline int try_to_freeze(void) { return 0; }
---- linux-2.6.16.14/include/linux/suspend.h~ 2006-05-05 16:35:34.000000000 +0200
-+++ linux-2.6.16.14/include/linux/suspend.h 2006-05-05 17:33:35.000000000 +0200
-@@ -59,8 +59,10 @@
- printk("Warning: fake suspend called\n");
- return -EPERM;
- }
-+#ifndef freeze_processes
- static inline int freeze_processes(void) { return 0; }
- static inline void thaw_processes(int which_threads) { }
-+#endif
- #endif /* CONFIG_PM */
-
- extern char resume2_file[256];
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/linux-2.6-suspend2-avoid-redef.patch?r1=1.1.2.1&r2=1.1.2.2&f=u
More information about the pld-cvs-commit
mailing list