summaryrefslogtreecommitdiffstats
path: root/drivers/lguest/lg.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2013-04-22 06:40:40 +0200
committerRusty Russell <rusty@rustcorp.com.au>2013-04-22 08:15:00 +0200
commitf1f394b1c33d93416c90f97e201d4d386c04af55 (patch)
tree344d79f8fcdf66c32bf4032eb05798dc70b6c8c8 /drivers/lguest/lg.h
parentlguest: extract shadow PTE walking / allocating. (diff)
downloadlinux-f1f394b1c33d93416c90f97e201d4d386c04af55.tar.xz
linux-f1f394b1c33d93416c90f97e201d4d386c04af55.zip
lguest: expost switcher_pages array (as lg_switcher_pages).
We will need this in page_table.c soon. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest/lg.h')
-rw-r--r--drivers/lguest/lg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/lguest/lg.h b/drivers/lguest/lg.h
index 4c3e532d50d6..9a345efa83e4 100644
--- a/drivers/lguest/lg.h
+++ b/drivers/lguest/lg.h
@@ -124,6 +124,7 @@ bool lguest_address_ok(const struct lguest *lg,
unsigned long addr, unsigned long len);
void __lgread(struct lg_cpu *, void *, unsigned long, unsigned);
void __lgwrite(struct lg_cpu *, unsigned long, const void *, unsigned);
+extern struct page **lg_switcher_pages;
/*H:035
* Using memory-copy operations like that is usually inconvient, so we