lkml.org 
[lkml]   [2012]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/5] x86/jump-label: Use best default nops for inital jump label calls
    On 01/27/2012 12:14 PM, Steven Rostedt wrote:
    >
    > #define JUMP_LABEL_NOP_SIZE 5
    >
    > -#define JUMP_LABEL_INITIAL_NOP ".byte 0xe9 \n\t .long 0\n\t"
    > +#ifdef CONFIG_X86_64 +# define JUMP_LABEL_INIT_NOP P6_NOP5 +#else
    > +# define JUMP_LABEL_INIT_NOP 0x3e, 0x8d, 0x74, 0x26, 0x00 +#endif
    >

    Why not just use ASM_NOP5_ATOMIC since you have configuration
    available here?

    -hpa



    \
     
     \ /
      Last update: 2012-01-27 21:29    [W:0.018 / U:0.352 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site