Re: Latest TOI compilation problem

Oleksandr Natalenko <[email protected]> Sat, 11 Aug 2012 22:21:35 +0300
Newsgroups gmane.linux.swsusp.devel
Message-ID <[email protected]>
My patch arrived 2 minutes earlier :D.

11.08.12 19:42, Flynn Marquardt написав(ла):
> 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
signature.asc (application/pgp-signature, 554 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQJrDFAAoJELftKrVLdx04iREH/ApROOh8pcW+lbGQ4ET2+Qq1
qaT/if2fKga2JiAFMEepFiXqlhXUZCEThmxyR4GK5qAbjHUaNLyiYlg13Lg+jmLX
QT9AILUa3TQUB7K2guOCGFZLRX7b2Od22BPk/OXI82JagTiR3pwLvg5PjIGgGeLX
Lqk5K1HpJb4Sv+OnRpUzHFnXrqbWWnDnlm+XIR0tpa2CdPoFlTk17N26dJAOIBye
obKZoDV8KmfNBAx2Q0OLYwL7DszHj4R41wMls/yT2boHv23D09qr9EZhWP5YwVaH
D5g4DQzxBGPTHZW5dCOlmwQk6+kfUzeZhmnbu6rlSTscvvjRX9eqz3KS/0CKnao=
=zQvP
-----END PGP SIGNATURE-----