kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] x86: Remove direct access to internal x86 descriptor fields
@ 2009-03-29 21:21 Joe Damato
  2009-03-29 21:21 ` [PATCH 1/2] x86: Add getter/setter static inlines for x86 descriptors Joe Damato
  0 siblings, 1 reply; 6+ messages in thread
From: Joe Damato @ 2009-03-29 21:21 UTC (permalink / raw)
  To: linux-x86_64, w, mingo, hpa, jeremy, linux-newbie,
	kernel-janitors, linux-kernel
  Cc: Joe Damato

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(-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-29 22:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-29 21:21 [PATCH 0/2] x86: Remove direct access to internal x86 descriptor fields Joe Damato
2009-03-29 21:21 ` [PATCH 1/2] x86: Add getter/setter static inlines for x86 descriptors Joe Damato
2009-03-29 21:21   ` [PATCH 2/2] x86: Replace direct access to descriptor fields with getter/setters Joe Damato
2009-03-29 21:28   ` [PATCH 1/2] x86: Add getter/setter static inlines for x86 descriptors H. Peter Anvin
2009-03-29 21:50     ` [PATCH 1/2] x86: Add getter/setter static inlines for x86 Joe Damato
2009-03-29 22:10       ` [PATCH 1/2] x86: Add getter/setter static inlines for x86 descriptors H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).