2.6.20-mm2: BLOCK=n compile error

Adrian Bunk
2007-02-20T00:13:54Z

On Sat, Feb 17, 2007 at 09:51:46PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-mm1:
>...
> git-block.patch
>...
> git trees
>...

This causes the following compile error with CONFIG_BLOCK=n:

<-- snip -->

...
CC kernel/sched.o
/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/kernel/sched.c:1835: warning: no previous prototype for 'schedule_tail'
/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/kernel/sched.c: In function 'schedule':
/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/kernel/sched.c:3466: error: dereferencing pointer to incomplete type
/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/kernel/sched.c:3467: error: implicit declaration of function 'blk_replug_current_nested'
make[2]: *** [kernel/sched.o] Error 1

<-- snip -->

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed