dect
/
linux-2.6
Archived
13
0
Fork 0

lguest: Segment selectors are 16-bit long. Fix lg_cpu.ss1 definition.

If GDT_ENTRIES were every > 256, this could become a problem.

Signed-off-by: Matias Zabaljauregui <zabaljauregui at gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Matias Zabaljauregui 2009-06-12 22:27:04 -06:00 committed by Rusty Russell
parent 81b79b01d0
commit f086122bb6
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ struct lg_cpu {
u32 cr2;
int ts;
u32 esp1;
u8 ss1;
u16 ss1;
/* Bitmap of what has changed: see CHANGED_* above. */
int changed;