Quantcast
Channel: lkml.org : Pallipadi, Venkatesh
Viewing all articles
Browse latest Browse all 864

Re: [GIT PULL] x86/build changes for v4.17

$
0
0
Linus Torvalds writes: (Summary) Another example of that can be found in our x86 bit operations macros: Another example of that can be found in our x86 bit operations macros: static __always_inline void
set_bit(long nr, volatile unsigned long *addr)
  {
        if (IS_IMMEDIATE(nr)) {
                asm volatile(LOCK_PREFIX "orb %1,%0"
                        : CONST_MASK_ADDR(nr, addr)
                        : "iq" ((u8)CONST_MASK(nr))
                        : "memory");

Viewing all articles
Browse latest Browse all 864

Trending Articles