• Linus Torvalds's avatar
    Merge tag 'x86-asm-2023-10-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 5780e39e
    Linus Torvalds authored
    Pull x86 assembly code updates from Ingo Molnar:
    
     - Micro-optimize the x86 bitops code
    
     - Define target-specific {raw,this}_cpu_try_cmpxchg{64,128}() to
       improve code generation
    
     - Define and use raw_cpu_try_cmpxchg() preempt_count_set()
    
     - Do not clobber %rsi in percpu_{try_,}cmpxchg{64,128}_op
    
     - Remove the unused __sw_hweight64() implementation on x86-32
    
     - Misc fixes and cleanups
    
    * tag 'x86-asm-2023-10-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/lib: Address kernel-doc warnings
      x86/entry: Fix typos in comments
      x86/entry: Remove unused argument %rsi passed to exc_nmi()
      x86/bitops: Remove unused __sw_hweight64() assembly implementation on x86-32
      x86/percpu: Do not clobber %rsi in percpu_{try_,}cmpxchg{64,128}_op
      x86/percpu: Use raw_cpu_try_cmpxchg() in preempt_count_set()
      x86/percpu: Define raw_cpu_try_cmpxchg and this_cpu_try_cmpxchg()
      x86/percpu: Define {raw,this}_cpu_try_cmpxchg{64,128}
      x86/asm/bitops: Use __builtin_clz{l|ll} to evaluate constant expressions
    5780e39e
entry_64.S 43 KB