[Suspend2-devel] 2.2.7.4

Joe Christy joe at eshu.net
Fri Jul 21 22:59:57 UTC 2006


To answer my own post of 07/21/2006 09:03 AM:
>   Vis-a-vis Bernard's note of 07/20/2006 05:27 AM:
>> On Thu, 2006-07-20 at 15:39 +0700, Aleksey Luzin wrote:
>>> Is such patch available for 2.6.17 kernel?
>> Apply the incremental patch to 2.2.7.3, and this snippet (a backport
>> from 2.6.18-rc2).
>>
>> ...
> 
> 	I just tried to rebuild a 2.6.17.6 kernel first applying 2.2.7.3, then
> Nigel's incremental patch from this thread to 2.2.7.4, and finally the
> patch above.
> 
> 	Alas, compilation fails with the following error:
> ...

	The patch below, applied after Nigel's patch, then Bernard's, fixes the
compilation problem, at least. I haven't tested my new kernel yet, though.

	Joe

--- linux-2.6.17.i686/kernel/power/prepare_image.h.orig	2006-07-21
14:09:34.000000000 -0700
+++ linux-2.6.17.i686/kernel/power/prepare_image.h	2006-07-21
14:12:20.000000000 -0700
@@ -8,6 +8,7 @@
  */

 #include <asm/sections.h>
+#include <asm-generic/vmlinux.lds.h>

 extern int suspend_prepare_image(void);
 extern void suspend_recalculate_image_contents(int storage_available);
@@ -39,6 +40,8 @@
 extern long ram_to_suspend(void);

 #ifdef CONFIG_DEBUG_RODATA
+extern char __start_rodata, __end_rodata;
+
 static inline struct page* rodata_start_page(void)
 {
 	return virt_to_page(&__start_rodata);


-- 
============================= Joe Christy ==============================
------------------ http://xri.net/=joe.christy ------------------
== If I can save you any time, give it to me, I'll keep it with mine. ==




More information about the TuxOnIce-devel mailing list