Re: [PULL] virtio updates

From: Ingo Molnar
Date: Tue Feb 05 2008 - 07:47:56 EST



* Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:

> Rusty Russell (16):
> virtio: balloon driver

this change breaks the x86 build, as 'make randconfig' testing found it
after 2 iterations:

drivers/virtio/virtio_balloon.c: In function 'fill_balloon':
drivers/virtio/virtio_balloon.c:98: error: implicit declaration of function 'msleep'

the patch below fixes it.

Ingo

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
drivers/virtio/virtio_balloon.c | 1 +
1 file changed, 1 insertion(+)

Index: linux/drivers/virtio/virtio_balloon.c
===================================================================
--- linux.orig/drivers/virtio/virtio_balloon.c
+++ linux/drivers/virtio/virtio_balloon.c
@@ -23,6 +23,7 @@
#include <linux/swap.h>
#include <linux/kthread.h>
#include <linux/freezer.h>
+#include <linux/delay.h>

struct virtio_balloon
{
--
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/