x86: Remove direct access to internal x86 descriptor fields
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86: Add getter/setter static inlines for x86 descriptorsarch/ | +20 | 3 replies | |
| 2/2 | x86: Replace direct access to descriptor fields with getter/settersarch/ arch/ arch/ +6 more | +53 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] x86: Remove direct access to internal x86 descriptor fields
Hi -
This patch set aims to remove the direct access to the 'a' and 'b' fields of 32-bit x86 descriptors. Static inline getters/setters are provided.
This is a resumbmit of a patch set I submitted several months ago[1]. My last patch set was a bit large, so I've tried to take a smaller bite this time and slowly build the cleanup effort over a series of patch sets.
Any and all comments, suggestions, and questions are welcome.
Thanks,
Joe Damato
[1] http://lkml.org/lkml/2008/10/24/459
---
Joe Damato (2):
x86: Add getter/setter static inlines for x86 descriptors
x86: Replace direct access to descriptor fields with getter/setters
arch/x86/include/asm/desc.h | 32 ++++++++++++++++++++++++++------ arch/x86/include/asm/xen/hypercall.h | 5 +++-- arch/x86/kernel/tls.c | 6 ++++-- arch/x86/kernel/vmi_32.c | 3 ++- arch/x86/lguest/boot.c | 2 +- arch/x86/math-emu/fpu_system.h | 20 ++++++++++---------- drivers/lguest/interrupts_and_traps.c | 25 +++++++++++++------------ drivers/lguest/segments.c | 20 ++++++++++++-------- drivers/pnp/pnpbios/bioscalls.c | 4 ++-- 9 files changed, 73 insertions(+), 44 deletions(-)