diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-17 19:14:46 -0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-01-30 22:50:17 +1100 |
commit | ae3749dcd8c31dcfbab14ea28c68a944c93f418f (patch) | |
tree | bdbbe9207bb7c50e9aeb7afc5b5653b79501c03f /drivers/lguest/lg.h | |
parent | f34f8c5fea079065671163c37d98328cff31980b (diff) | |
download | op-kernel-dev-ae3749dcd8c31dcfbab14ea28c68a944c93f418f.zip op-kernel-dev-ae3749dcd8c31dcfbab14ea28c68a944c93f418f.tar.gz |
lguest: move changed bitmap to lg_cpu
events represented in the 'changed' bitmap are per-cpu, not per-guest.
move it to the lg_cpu structure
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest/lg.h')
-rw-r--r-- | drivers/lguest/lg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/lguest/lg.h b/drivers/lguest/lg.h index f1c4c33..0d6f643 100644 --- a/drivers/lguest/lg.h +++ b/drivers/lguest/lg.h @@ -51,6 +51,9 @@ struct lg_cpu { u32 esp1; u8 ss1; + /* Bitmap of what has changed: see CHANGED_* above. */ + int changed; + unsigned long pending_notify; /* pfn from LHCALL_NOTIFY */ /* At end of a page shared mapped over lguest_pages in guest. */ @@ -92,9 +95,6 @@ struct lguest void __user *mem_base; unsigned long kernel_address; - /* Bitmap of what has changed: see CHANGED_* above. */ - int changed; - struct pgdir pgdirs[4]; unsigned long noirq_start, noirq_end; |