Skip to content

Commit

Permalink
lguest files should explicitly include asm/paravirt.h
Browse files Browse the repository at this point in the history
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 <jes@sgi.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Jes Sorensen authored and Linus Torvalds committed Aug 11, 2007
1 parent cd5bfea commit b1a4719
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/hvc_lguest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions drivers/lguest/lguest_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b1a4719

Please sign in to comment.