IB/srp: Let srp_abort() return FAST_IO_FAIL if TL offline
[linux/fpc-iii.git] / arch / x86 / um / shared / sysdep / kernel-offsets.h
blob46a9df99f3c5c952601d7f153adf6bf8c1e3e937
1 #include <linux/stddef.h>
2 #include <linux/sched.h>
3 #include <linux/elf.h>
4 #include <linux/crypto.h>
5 #include <asm/mman.h>
7 #define DEFINE(sym, val) \
8 asm volatile("\n->" #sym " %0 " #val : : "i" (val))
10 #define BLANK() asm volatile("\n->" : : )
12 #define OFFSET(sym, str, mem) \
13 DEFINE(sym, offsetof(struct str, mem));
15 void foo(void)
17 #include <common-offsets.h>