Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
kbuild.h File Reference

Go to the source code of this file.

Macros

#define DEFINE(sym, val)   asm volatile("\n->" #sym " %0 " #val : : "i" (val))
 
#define BLANK()   asm volatile("\n->" : : )
 
#define OFFSET(sym, str, mem)   DEFINE(sym, offsetof(struct str, mem))
 
#define COMMENT(x)   asm volatile("\n->#" x)
 

Macro Definition Documentation

#define BLANK ( )    asm volatile("\n->" : : )

Definition at line 7 of file kbuild.h.

#define COMMENT (   x)    asm volatile("\n->#" x)

Definition at line 12 of file kbuild.h.

#define DEFINE (   sym,
  val 
)    asm volatile("\n->" #sym " %0 " #val : : "i" (val))

Definition at line 4 of file kbuild.h.

#define OFFSET (   sym,
  str,
  mem 
)    DEFINE(sym, offsetof(struct str, mem))

Definition at line 9 of file kbuild.h.