]> git.baikalelectronics.ru Git - kernel.git/commit
lguest: switch segment-voodoo-numbers to readable symbols
authorJacek Galowicz <jacek@galowicz.de>
Thu, 12 Jan 2012 05:14:47 +0000 (15:44 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 05:14:47 +0000 (15:44 +1030)
commitebf75588996f16b9e1f02b11cd89723378c0c549
treee423ae99ef82b949e52ef4b600c2fc90994fec4d
parent90ab08e3ee82bba28fa94198fe7f61d928753515
lguest: switch segment-voodoo-numbers to readable symbols

When studying lguest's x86 segment descriptor code, it is not longer
necessary to have the Intel x86 architecture manual open on the page
with the segment descriptor illustration to understand the crazy
numbers assigned to both descriptor structure halves a/b.
Now the struct desc_struct's fields, like suggested by
Glauber de Oliveira Costa in 2008, are used.

Signed-off-by: Jacek Galowicz <jacek@galowicz.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/segments.c