Re: Latest TOI compilation problem
Flynn Marquardt <[email protected]> Sat, 11 Aug 2012 18:42:02 +0200
| Newsgroups | gmane.linux.swsusp.devel |
|---|---|
| Message-ID | <[email protected]> |
Am 11.08.2012 18:31, schrieb Oleksandr Natalenko: > Houston, we have a problem: > > kernel/power/tuxonice_atomic_copy.c: In function 'toi_go_atomic': > kernel/power/tuxonice_atomic_copy.c:359:2: error: implicit declaration > of function 'ftrace_stop' [-Werror=implicit-function-declaration] > kernel/power/tuxonice_atomic_copy.c: In function 'toi_end_atomic': > kernel/power/tuxonice_atomic_copy.c:463:3: error: implicit declaration > of function 'ftrace_start' [-Werror=implicit-function-declaration] > cc1: some warnings being treated as errors > > > _______________________________________________ > TuxOnIce-devel mailing list > [email protected] > http://lists.tuxonice.net/listinfo/tuxonice-devel put in the file kernel/power/tuxonice_atomic_copy.c the line #include <linux/ftrace.h> or use the attached patch: diff --git a/kernel/power/tuxonice_atomic_copy.c b/kernel/power/tuxonice_atomic_copy.c index e6cc6c9..c5a4a7d 100644 --- a/kernel/power/tuxonice_atomic_copy.c +++ b/kernel/power/tuxonice_atomic_copy.c @@ -12,6 +12,7 @@ #include <linux/highmem.h> #include <linux/cpu.h> #include <linux/freezer.h> +#include <linux/ftrace.h> #include <linux/console.h> #include <linux/syscore_ops.h> #include <asm/suspend.h> Flynn _______________________________________________ TuxOnIce-devel mailing list [email protected] http://lists.tuxonice.net/listinfo/tuxonice-devel