]> err.no Git - linux-2.6/commit
x86: segment selector macros
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:48 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:48 +0000 (13:30 +0100)
commit2608a6584a0a32d3251dfafad31d9f8b2c784466
tree3d790ff15328fe7879cfbe003f1f0e23a91654be
parentfb7fa8f1741c91f6c6e958762155abe9339476ca
x86: segment selector macros

This copies into asm-x86/segment_64.h some macros from asm-x86/segment_32.h
for dissecting segment selectors.  This lets other code use these macros
uniformly on 32/64-bit rather than duplicating the constants elsewhere.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/segment_64.h