[BACK]Return to alternative-asm.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / asm-x86

File: [Development] / linux-2.6-xfs / include / asm-x86 / alternative-asm.h (download)

Revision 1.1, Mon Dec 3 16:26:37 2007 UTC (9 years, 10 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD

Merge up to 2.6.24-rc3
Merge of 2.6.x-xfs-melb:linux:30183b by kenmcd.

#ifdef __ASSEMBLY__

#ifdef CONFIG_X86_32
# define X86_ALIGN .long
#else
# define X86_ALIGN .quad
#endif

#ifdef CONFIG_SMP
	.macro LOCK_PREFIX
1:	lock
	.section .smp_locks,"a"
	.align 4
	X86_ALIGN 1b
	.previous
	.endm
#else
	.macro LOCK_PREFIX
	.endm
#endif

#endif  /*  __ASSEMBLY__  */