lkml.org 
[lkml]   [2008]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-10-04 14:13    [W:0.061 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site