• Borislav Petkov's avatar
    x86/cpufeature: Get rid of the non-asm goto variant · a362bf9f
    Borislav Petkov authored
    I can simply quote hpa from the mail:
    
      "Get rid of the non-asm goto variant and just fall back to
       dynamic if asm goto is unavailable. It doesn't make any sense,
       really, if it is supposed to be safe, and by now the asm
       goto-capable gcc is in more wide use. (Originally the gcc 3.x
       fallback to pure dynamic didn't exist, either.)"
    
    Booy, am I lazy.
    
    Cleanup the whole CC_HAVE_ASM_GOTO ifdeffery too, while at it.
    Suggested-by: default avatarH. Peter Anvin <hpa@zytor.com>
    Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Brian Gerst <brgerst@gmail.com>
    Cc: Denys Vlasenko <dvlasenk@redhat.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Link: http://lkml.kernel.org/r/20160127084325.GB30712@pd.tnicSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
    a362bf9f
cpufeature.h 6.97 KB