patch-2.4.3 linux/include/asm-i386/system.h
Next file: linux/include/asm-ia64/sn/pci/bridge.h
Previous file: linux/include/asm-i386/string.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon Mar 26 15:48:11 2001
- Orig file:
v2.4.2/linux/include/asm-i386/system.h
- Orig date:
Sat Feb 3 19:51:31 2001
diff -u --recursive --new-file v2.4.2/linux/include/asm-i386/system.h linux/include/asm-i386/system.h
@@ -144,16 +144,17 @@
extern inline void __set_64bit (unsigned long long * ptr,
unsigned int low, unsigned int high)
{
-__asm__ __volatile__ (
- "1: movl (%0), %%eax;
- movl 4(%0), %%edx;
- cmpxchg8b (%0);
- jnz 1b"
- :: "D"(ptr),
+ __asm__ __volatile__ (
+ "\n1:\t"
+ "movl (%0), %%eax\n\t"
+ "movl 4(%0), %%edx\n\t"
+ "cmpxchg8b (%0)\n\t"
+ "jnz 1b"
+ : /* no outputs */
+ : "D"(ptr),
"b"(low),
"c"(high)
- :
- "ax","dx","memory");
+ : "ax","dx","memory");
}
extern void inline __set_64bit_constant (unsigned long long *ptr,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)