aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lguest/lg.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2013-04-22 00:40:38 -0400
committerRusty Russell <rusty@rustcorp.com.au>2013-04-22 02:01:36 -0400
commit93a2cdff98243df06bafd3c4f3b31b38f0d0fe3e (patch)
treecfda9a918a92ac0308e1c888489c83c0b243138a /drivers/lguest/lg.h
parent856c608827928d29f80605e85fc3f8f0ab3af4fb (diff)
lguest: assume Switcher text is a single page.
ie. SHARED_SWITCHER_PAGES == 1. It is well under a page, and it's a minor simplification: it's nice to have *one* simplification in a patch series! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest/lg.h')
-rw-r--r--drivers/lguest/lg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/lg.h b/drivers/lguest/lg.h
index 8bf68c54ff7f..4c3e532d50d6 100644
--- a/drivers/lguest/lg.h
+++ b/drivers/lguest/lg.h
@@ -15,7 +15,7 @@
15#include <asm/lguest.h> 15#include <asm/lguest.h>
16 16
17void free_pagetables(void); 17void free_pagetables(void);
18int init_pagetables(struct page **switcher_pages, unsigned int pages); 18int init_pagetables(struct page **switcher_pages);
19 19
20struct pgdir { 20struct pgdir {
21 unsigned long gpgdir; 21 unsigned long gpgdir;