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

File: [Development] / linux-2.6-xfs / include / asm-i386 / Attic / linkage.h (download)

Revision 1.3, Tue Oct 19 14:44:45 2004 UTC (13 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.2: +4 -0 lines

Merge up to 2.6.9.
Merge of 2.6.x-xfs-melb:linux:19821a by kenmcd.

#ifndef __ASM_LINKAGE_H
#define __ASM_LINKAGE_H

#define asmlinkage CPP_ASMLINKAGE __attribute__((regparm(0)))
#define FASTCALL(x)	x __attribute__((regparm(3)))
#define fastcall	__attribute__((regparm(3)))

#ifdef CONFIG_REGPARM
# define prevent_tail_call(ret) __asm__ ("" : "=r" (ret) : "0" (ret))
#endif

#ifdef CONFIG_X86_ALIGNMENT_16
#define __ALIGN .align 16,0x90
#define __ALIGN_STR ".align 16,0x90"
#endif

#endif