Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / linux / kbuild.h
blob22a72198c14b7e338f4f10ed334f7c73be8cfcae
1 #ifndef __LINUX_KBUILD_H
2 #define __LINUX_KBUILD_H
4 #define DEFINE(sym, val) \
5 asm volatile("\n->" #sym " %0 " #val : : "i" (val))
7 #define BLANK() asm volatile("\n->" : : )
9 #define OFFSET(sym, str, mem) \
10 DEFINE(sym, offsetof(struct str, mem))
12 #define COMMENT(x) \
13 asm volatile("\n->#" x)
15 #endif