linux-bk/include/linux/linkage.h
<<
>>
Prefs
   1#ifndef _LINUX_LINKAGE_H
   2#define _LINUX_LINKAGE_H
   3
   4#include <linux/config.h>
   5#include <asm/linkage.h>
   6
   7#ifdef __cplusplus
   8#define CPP_ASMLINKAGE extern "C"
   9#else
  10#define CPP_ASMLINKAGE
  11#endif
  12
  13#ifndef asmlinkage
  14#define asmlinkage CPP_ASMLINKAGE
  15#endif
  16
  17#ifndef __ALIGN
  18#define __ALIGN         .align 4,0x90
  19#define __ALIGN_STR     ".align 4,0x90"
  20#endif
  21
  22#ifdef __ASSEMBLY__
  23
  24#define ALIGN __ALIGN
  25#define ALIGN_STR __ALIGN_STR
  26
  27#define ENTRY(name) \
  28  .globl name; \
  29  ALIGN; \
  30  name:
  31
  32#endif
  33
  34#define NORET_TYPE    /**/
  35#define ATTRIB_NORET  __attribute__((noreturn))
  36#define NORET_AND     noreturn,
  37
  38#ifndef FASTCALL
  39#define FASTCALL(x)     x
  40#define fastcall
  41#endif
  42
  43#endif
  44
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.