![]() | |||||||||||||
Messages in this thread Patch in this message |
Make swsusp compile again. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> --- --- kernel/power/disk.c | 1 + kernel/power/main.c | 1 + kernel/power/user.c | 1 + 3 files changed, 3 insertions(+) Index: linux-2.6.19-rc2-mm2/kernel/power/disk.c =================================================================== --- linux-2.6.19-rc2-mm2.orig/kernel/power/disk.c +++ linux-2.6.19-rc2-mm2/kernel/power/disk.c @@ -10,6 +10,7 @@ */ #include <linux/suspend.h> +#include <linux/freezer.h> #include <linux/syscalls.h> #include <linux/reboot.h> #include <linux/string.h> Index: linux-2.6.19-rc2-mm2/kernel/power/main.c =================================================================== --- linux-2.6.19-rc2-mm2.orig/kernel/power/main.c +++ linux-2.6.19-rc2-mm2/kernel/power/main.c @@ -10,6 +10,7 @@ #include <linux/module.h> #include <linux/suspend.h> +#include <linux/freezer.h> #include <linux/kobject.h> #include <linux/string.h> #include <linux/delay.h> Index: linux-2.6.19-rc2-mm2/kernel/power/user.c =================================================================== --- linux-2.6.19-rc2-mm2.orig/kernel/power/user.c +++ linux-2.6.19-rc2-mm2/kernel/power/user.c @@ -10,6 +10,7 @@ */ #include <linux/suspend.h> +#include <linux/freezer.h> #include <linux/syscalls.h> #include <linux/reboot.h> #include <linux/string.h> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2006-10-29 13:23 [from the cache] ©2003-2008 | |||||||||||||