diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-22 00:40:38 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-22 02:01:36 -0400 |
commit | 93a2cdff98243df06bafd3c4f3b31b38f0d0fe3e (patch) | |
tree | cfda9a918a92ac0308e1c888489c83c0b243138a /drivers/lguest/lg.h | |
parent | 856c608827928d29f80605e85fc3f8f0ab3af4fb (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.h | 2 |
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 | ||
17 | void free_pagetables(void); | 17 | void free_pagetables(void); |
18 | int init_pagetables(struct page **switcher_pages, unsigned int pages); | 18 | int init_pagetables(struct page **switcher_pages); |
19 | 19 | ||
20 | struct pgdir { | 20 | struct pgdir { |
21 | unsigned long gpgdir; | 21 | unsigned long gpgdir; |