Skip to content
  • Mathieu Desnoyers's avatar
    x86: clean up alternative.h · edc953fa
    Mathieu Desnoyers authored
    
    
    Alternative header duplicates assembly that could be merged in
    one single macro.  Merging this into this macro also allows to
    directly declare ALTERNATIVE() statements within assembly code.
    
    Uses a __stringify() of the feature bits rather than passing a
    "i" operand.  Leave the old %0 operand as-is (set to 0), unused
    to stay compatible with API.
    
    (v2: tab alignment fixes)
    
    [ Impact: cleanup ]
    
    Signed-off-by: default avatarMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
    LKML-Reference: <20090428151346.GA31212@Krystal>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    edc953fa