diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/avr32/kernel/asm-offsets.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/avr32/kernel/asm-offsets.c b/arch/avr32/kernel/asm-offsets.c index 078cd33f467b..e4796c67a831 100644 --- a/arch/avr32/kernel/asm-offsets.c +++ b/arch/avr32/kernel/asm-offsets.c | |||
@@ -5,14 +5,7 @@ | |||
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <linux/thread_info.h> | 7 | #include <linux/thread_info.h> |
8 | 8 | #include <linux/kbuild.h> | |
9 | #define DEFINE(sym, val) \ | ||
10 | asm volatile("\n->" #sym " %0 " #val : : "i" (val)) | ||
11 | |||
12 | #define BLANK() asm volatile("\n->" : : ) | ||
13 | |||
14 | #define OFFSET(sym, str, mem) \ | ||
15 | DEFINE(sym, offsetof(struct str, mem)); | ||
16 | 9 | ||
17 | void foo(void) | 10 | void foo(void) |
18 | { | 11 | { |