Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
asm-offsets.c File Reference
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/ptrace.h>
#include <linux/mman.h>
#include <linux/mm.h>
#include <linux/io.h>
#include <linux/thread_info.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/processor.h>

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->" : : )
 

Functions

int main (void)
 

Macro Definition Documentation

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

Definition at line 44 of file asm-offsets.c.

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

Definition at line 41 of file asm-offsets.c.

Function Documentation

int main ( void  )

Definition at line 46 of file asm-offsets.c.