DEFINE Macro

Fredrick fjohnber at zoho.com
Thu Jan 5 22:32:48 EST 2012


Hi,

I am not able to understand the DEFINE macro used in
arch/powerpc/kernel/asm-offsets.c

I suppose the DEFINE is present in
include/linux/kbuild.h
where it says
#define DEFINE(sym, val) \
         asm volatile("\n->" #sym " %0 " #val : : "i" (val))

What does the above mean?


-Fredrick




More information about the Kernelnewbies mailing list