* [2.6 patch] init/do_mounts_md.c must #include <linux/delay.h>
@ 2008-10-16 20:29 Adrian Bunk
2008-10-16 22:41 ` Arjan van de Ven
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-10-16 20:29 UTC (permalink / raw)
To: Linus Torvalds, Arjan van de Ven; +Cc: neilb, linux-kernel, linux-raid
This patch fixes the following compile error caused by
commit 589f800bb12c5cd6c9167bbf9bf3cb70cd8e422c
(fastboot: make the raid autodetect code wait for all devices to init):
<-- snip -->
...
CC init/do_mounts_md.o
init/do_mounts_md.c: In function 'autodetect_raid':
init/do_mounts_md.c:285: error: implicit declaration of function 'msleep'
make[2]: *** [init/do_mounts_md.o] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
diff --git a/init/do_mounts_md.c b/init/do_mounts_md.c
index 48b3fad..4c87ee1 100644
--- 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>
#include "do_mounts.h"
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [2.6 patch] init/do_mounts_md.c must #include <linux/delay.h>
2008-10-16 20:29 [2.6 patch] init/do_mounts_md.c must #include <linux/delay.h> Adrian Bunk
@ 2008-10-16 22:41 ` Arjan van de Ven
0 siblings, 0 replies; 2+ messages in thread
From: Arjan van de Ven @ 2008-10-16 22:41 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Linus Torvalds, neilb, linux-kernel, linux-raid
sigh; header "cleanups" crossing ;(
Adrian Bunk wrote:
> This patch fixes the following compile error caused by
> commit 589f800bb12c5cd6c9167bbf9bf3cb70cd8e422c
> (fastboot: make the raid autodetect code wait for all devices to init):
>
> <-- snip -->
>
> ...
> CC init/do_mounts_md.o
> init/do_mounts_md.c: In function 'autodetect_raid':
> init/do_mounts_md.c:285: error: implicit declaration of function 'msleep'
> make[2]: *** [init/do_mounts_md.o] Error 1
>
> <-- snip -->
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
>
> diff --git a/init/do_mounts_md.c b/init/do_mounts_md.c
> index 48b3fad..4c87ee1 100644
> --- 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>
>
> #include "do_mounts.h"
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-16 22:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-16 20:29 [2.6 patch] init/do_mounts_md.c must #include <linux/delay.h> Adrian Bunk
2008-10-16 22:41 ` Arjan van de Ven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).