Re: [PATCH] Compile fix for suspend.c

From: Pavel Machek (pavel@ucw.cz)
Date: Sun Jul 20 2003 - 14:17:33 EST


Hi!

> kernel/suspend.c fails to build as of a bk pull at about 08:00 UTC,
> with redefinitions of _text.

You were right; I can see the error, too. And your fix is right, since
current suspend.c no longer uses these sections. (It still uses
__nosave_begin/_end, through).
                                                                Pavel

> ===== kernel/suspend.c 1.42 vs edited =====
> --- 1.42/kernel/suspend.c Sat May 3 04:16:11 2003
> +++ edited/kernel/suspend.c Sun Jul 20 19:14:48 2003
> @@ -83,7 +83,6 @@
> #define ADDRESS2(x) __ADDRESS(__pa(x)) /* Needed for x86-64 where some pages are in m
> emory twice */
>
> /* References to section boundaries */
> -extern char _text, _etext, _edata, __bss_start, _end;
> extern char __nosave_begin, __nosave_end;
>
> extern int is_head_of_free_region(struct page *);
>

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
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/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:40 EST