Re: Linux v2.5.41

Adrian Bunk
2002-10-08T11:57:15Z

On Mon, 7 Oct 2002, Linus Torvalds wrote:

>...
> Summary of changes from v2.5.40 to v2.5.41
> ============================================
>...
> Pavel Machek <pavel@ucw.cz>:
> o Swsusp updates, do not thrash ide disk on suspend
>...

This change causes the following compile error with CONFIG_DISCONTIGMEM
enabled:

<-- snip -->

...
gcc -Wp,-MD,kernel/.suspend.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=k6 -Iarch/i386/mach-generic -nostdinc -iwithprefix include
-DKBUILD_BASENAME=suspend -c -o kernel/suspend.o kernel/suspend.c
...
kernel/suspend.c: In function `count_and_copy_data_pages':
kernel/suspend.c:479: `max_mapnr' undeclared (first use in this function)
kernel/suspend.c:479: (Each undeclared identifier is reported only once
kernel/suspend.c:479: for each function it appears in.)
make[1]: *** [kernel/suspend.o] Error 1
make: *** [kernel] Error 2

<-- snip -->

cu
Adrian

--

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox