[patch] lguest files should explicitly include asm/paravirt.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This one makes a few lguest related files that rely on paravirt_ops
include paravirt.h explicitly. Should be harmless :)

Jes

Files using bits from paravirt.h should explicitly include it rather than
relying on it being pulled in by something else.

Signed-off-by: Jes Sorensen <[email protected]>

---
 drivers/char/hvc_lguest.c   |    1 +
 drivers/lguest/lguest_bus.c |    1 +
 2 files changed, 2 insertions(+)

Index: linux-2.6-lguest/drivers/char/hvc_lguest.c
===================================================================
--- linux-2.6-lguest.orig/drivers/char/hvc_lguest.c
+++ linux-2.6-lguest/drivers/char/hvc_lguest.c
@@ -35,6 +35,7 @@
 #include <linux/err.h>
 #include <linux/init.h>
 #include <linux/lguest_bus.h>
+#include <asm/paravirt.h>
 #include "hvc_console.h"
 
 /*D:340 This is our single console input buffer, with associated "struct
Index: linux-2.6-lguest/drivers/lguest/lguest_bus.c
===================================================================
--- linux-2.6-lguest.orig/drivers/lguest/lguest_bus.c
+++ linux-2.6-lguest/drivers/lguest/lguest_bus.c
@@ -5,6 +5,7 @@
 #include <linux/bootmem.h>
 #include <linux/lguest_bus.h>
 #include <asm/io.h>
+#include <asm/paravirt.h>
 
 static ssize_t type_show(struct device *_dev,
                          struct device_attribute *attr, char *buf)

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux