From: Jes Sorensen Date: Fri, 10 Aug 2007 20:01:11 +0000 (-0700) Subject: lguest files should explicitly include asm/paravirt.h X-Git-Tag: v2.6.23-rc3~30 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=b1a47190a6000d0e75ee4ffa75f3f6b16dd60a0b;p=~shefty%2Frdma-dev.git lguest files should explicitly include asm/paravirt.h 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 Cc: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/hvc_lguest.c b/drivers/char/hvc_lguest.c index feeccbaec43..3d6bd0baa56 100644 --- a/drivers/char/hvc_lguest.c +++ b/drivers/char/hvc_lguest.c @@ -35,6 +35,7 @@ #include #include #include +#include #include "hvc_console.h" /*D:340 This is our single console input buffer, with associated "struct diff --git a/drivers/lguest/lguest_bus.c b/drivers/lguest/lguest_bus.c index 55a7940ca73..9e7752cc800 100644 --- a/drivers/lguest/lguest_bus.c +++ b/drivers/lguest/lguest_bus.c @@ -5,6 +5,7 @@ #include #include #include +#include static ssize_t type_show(struct device *_dev, struct device_attribute *attr, char *buf)