aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lguest/lg.h
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-17 16:14:46 -0500
committerRusty Russell <rusty@rustcorp.com.au>2008-01-30 06:50:17 -0500
commitae3749dcd8c31dcfbab14ea28c68a944c93f418f (patch)
treebdbbe9207bb7c50e9aeb7afc5b5653b79501c03f /drivers/lguest/lg.h
parentf34f8c5fea079065671163c37d98328cff31980b (diff)
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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/lguest/lg.h b/drivers/lguest/lg.h
index f1c4c33e4153..0d6f6435d72c 100644
--- a/drivers/lguest/lg.h
+++ b/drivers/lguest/lg.h
@@ -51,6 +51,9 @@ struct lg_cpu {
51 u32 esp1; 51 u32 esp1;
52 u8 ss1; 52 u8 ss1;
53 53
54 /* Bitmap of what has changed: see CHANGED_* above. */
55 int changed;
56
54 unsigned long pending_notify; /* pfn from LHCALL_NOTIFY */ 57 unsigned long pending_notify; /* pfn from LHCALL_NOTIFY */
55 58
56 /* At end of a page shared mapped over lguest_pages in guest. */ 59 /* At end of a page shared mapped over lguest_pages in guest. */
@@ -92,9 +95,6 @@ struct lguest
92 void __user *mem_base; 95 void __user *mem_base;
93 unsigned long kernel_address; 96 unsigned long kernel_address;
94 97
95 /* Bitmap of what has changed: see CHANGED_* above. */
96 int changed;
97
98 struct pgdir pgdirs[4]; 98 struct pgdir pgdirs[4];
99 99
100 unsigned long noirq_start, noirq_end; 100 unsigned long noirq_start, noirq_end;