[MIPS] Always pass -msoft-float.
[linux-2.6/openmoko-kernel/knife-kernel.git] / arch / um / include / sysdep-i386 / kernel-offsets.h
blob82f96c574144cbc327daa8b5c82624014bb9cf83
1 #include <linux/stddef.h>
2 #include <linux/sched.h>
3 #include <linux/elf.h>
5 #define DEFINE(sym, val) \
6 asm volatile("\n->" #sym " %0 " #val : : "i" (val))
8 #define STR(x) #x
9 #define DEFINE_STR(sym, val) asm volatile("\n->" #sym " " STR(val) " " #val: : )
11 #define BLANK() asm volatile("\n->" : : )
13 #define OFFSET(sym, str, mem) \
14 DEFINE(sym, offsetof(struct str, mem));
16 void foo(void)
18 OFFSET(HOST_TASK_DEBUGREGS, task_struct, thread.arch.debugregs);
19 #ifdef CONFIG_MODE_TT
20 OFFSET(HOST_TASK_EXTERN_PID, task_struct, thread.mode.tt.extern_pid);
21 #endif
22 #include <common-offsets.h>