lkml.org 
[lkml]   [2012]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[RFC PATCH -tip 02/16] x86: Change the order of segment prefix macro
    From
    Date
    Change the order of segment prefix macros to fit
    intel's segment register order.'s segment register order.

    Signed-off-by: Masami Hiramatsu <masami.hiramatsu@gmail.com>
    ---
    arch/x86/include/asm/inat.h | 12 ++++++------
    1 files changed, 6 insertions(+), 6 deletions(-)

    diff --git a/arch/x86/include/asm/inat.h b/arch/x86/include/asm/inat.h
    index 55e438b..2a86c26 100644
    --- a/arch/x86/include/asm/inat.h
    +++ b/arch/x86/include/asm/inat.h
    @@ -36,12 +36,12 @@
    #define INAT_PFX_REPNE 3 /* 0xF2 */ /* LPFX3 */
    /* Other Legacy prefixes */
    #define INAT_PFX_LOCK 4 /* 0xF0 */
    -#define INAT_PFX_CS 5 /* 0x2E */
    -#define INAT_PFX_DS 6 /* 0x3E */
    -#define INAT_PFX_ES 7 /* 0x26 */
    -#define INAT_PFX_FS 8 /* 0x64 */
    -#define INAT_PFX_GS 9 /* 0x65 */
    -#define INAT_PFX_SS 10 /* 0x36 */
    +#define INAT_PFX_ES 5 /* 0x26 */
    +#define INAT_PFX_CS 6 /* 0x2E */
    +#define INAT_PFX_SS 7 /* 0x36 */
    +#define INAT_PFX_DS 8 /* 0x3E */
    +#define INAT_PFX_FS 9 /* 0x64 */
    +#define INAT_PFX_GS 10 /* 0x65 */
    #define INAT_PFX_ADDRSZ 11 /* 0x67 */
    /* x86-64 REX prefix */
    #define INAT_PFX_REX 12 /* 0x4X */


    \
     
     \ /
      Last update: 2012-04-01 18:05    [W:0.021 / U:93.152 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site