2.6.20-mm2: BLOCK=n compile error

From: Adrian Bunk
Date: Mon Feb 19 2007 - 19:15:17 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/