projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81b79b0
)
lguest: Segment selectors are 16-bit long. Fix lg_cpu.ss1 definition.
author
Matias Zabaljauregui
<zabaljauregui@gmail.com>
Sat, 13 Jun 2009 04:27:04 +0000
(22:27 -0600)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:57:04 +0000
(22:27 +0930)
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>
drivers/lguest/lg.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/lguest/lg.h
b/drivers/lguest/lg.h
index 573896533ac9c54619ca8b2ae85a6bfcc6df4b3d..74af503ad63c19caa0f9405fc8b69b96feaf923c 100644
(file)
--- a/
drivers/lguest/lg.h
+++ b/
drivers/lguest/lg.h
@@
-49,7
+49,7
@@
struct lg_cpu {
u32 cr2;
int ts;
u32 esp1;
- u
8
ss1;
+ u
16
ss1;
/* Bitmap of what has changed: see CHANGED_* above. */
int changed;