]> Pileus Git - ~andy/linux/blobdiff - drivers/lguest/lg.h
Merge back earlier acpi-hotplug material.
[~andy/linux] / drivers / lguest / lg.h
index 295df06e65903cc15524f8a36b45014ce1000f27..2eef40be4c041047aef345b464cd5c102c24a468 100644 (file)
 
 #include <asm/lguest.h>
 
-void free_pagetables(void);
-int init_pagetables(struct page **switcher_page, unsigned int pages);
-
 struct pgdir {
        unsigned long gpgdir;
+       bool switcher_mapped;
+       int last_host_cpu;
        pgd_t *pgdir;
 };
 
@@ -124,6 +123,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