Messages in this thread | | | Date | Sat, 4 Oct 2008 14:10:12 +0200 | From | Ingo Molnar <> | Subject | Re: [mmotm 02/Oct] fix buid error of autodetect_raid() |
| |
* KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> wrote:
> Patch against: mmotm 02 Oct > Applied after: git-fastboot.patch > > > fix following build error > > > CC init/do_mounts_md.o > >init/do_mounts_md.c: In function 'autodetect_raid': > >init/do_mounts_md.c:278: error: implicit declaration of function 'msleep' > >make[1]: *** [init/do_mounts_md.o] Error 1 > >make: *** [init] Error 2 > > Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> > CC: Arjan van de Ven <arjan@linux.intel.com> > CC: Ingo Molnar <mingo@elte.hu> > --- > init/do_mounts_md.c | 1 + > 1 file changed, 1 insertion(+) > > Index: b/init/do_mounts_md.c > =================================================================== > --- a/init/do_mounts_md.c > +++ b/init/do_mounts_md.c > @@ -1,5 +1,6 @@ > > #include <linux/raid/md.h> > +#include <linux/delay.h>
hm, linux/raid/md.h already has:
#include <linux/delay.h>
what config triggers this build failure, and does your version of include/linux/raid/md.h have a linux/delay.h #include?
Ingo
| |