linux/arch/x86/include/asm/linkage.h
<<
>>
Prefs
   1#ifndef _ASM_X86_LINKAGE_H
   2#define _ASM_X86_LINKAGE_H
   3
   4#include <linux/stringify.h>
   5
   6#undef notrace
   7#define notrace __attribute__((no_instrument_function))
   8
   9#ifdef CONFIG_X86_32
  10#define asmlinkage CPP_ASMLINKAGE __attribute__((regparm(0)))
  11#endif /* CONFIG_X86_32 */
  12
  13#ifdef __ASSEMBLY__
  14
  15#define GLOBAL(name)    \
  16        .globl name;    \
  17        name:
  18
  19#if defined(CONFIG_X86_64) || defined(CONFIG_X86_ALIGNMENT_16)
  20#define __ALIGN         .p2align 4, 0x90
  21#define __ALIGN_STR     __stringify(__ALIGN)
  22#endif
  23
  24#endif /* __ASSEMBLY__ */
  25
  26#endif /* _ASM_X86_LINKAGE_H */
  27
  28