diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-22 14:10:38 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-22 15:31:36 +0930 |
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 @@ #include <asm/lguest.h> void free_pagetables(void); -int init_pagetables(struct page **switcher_pages, unsigned int pages); +int init_pagetables(struct page **switcher_pages); struct pgdir { unsigned long gpgdir; |