diff options
Diffstat (limited to 'arch/cris/kernel/asm-offsets.c')
-rw-r--r-- | arch/cris/kernel/asm-offsets.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/cris/kernel/asm-offsets.c b/arch/cris/kernel/asm-offsets.c index dd7b8e983221..a5fd88d816a6 100644 --- a/arch/cris/kernel/asm-offsets.c +++ b/arch/cris/kernel/asm-offsets.c | |||
@@ -1,3 +1,4 @@ | |||
1 | #include <linux/kbuild.h> | ||
1 | #include <linux/sched.h> | 2 | #include <linux/sched.h> |
2 | #include <asm/thread_info.h> | 3 | #include <asm/thread_info.h> |
3 | 4 | ||
@@ -7,11 +8,6 @@ | |||
7 | * and format the required data. | 8 | * and format the required data. |
8 | */ | 9 | */ |
9 | 10 | ||
10 | #define DEFINE(sym, val) \ | ||
11 | asm volatile("\n->" #sym " %0 " #val : : "i" (val)) | ||
12 | |||
13 | #define BLANK() asm volatile("\n->" : : ) | ||
14 | |||
15 | #if !defined(CONFIG_ETRAX_ARCH_V10) && !defined(CONFIG_ETRAX_ARCH_V32) | 11 | #if !defined(CONFIG_ETRAX_ARCH_V10) && !defined(CONFIG_ETRAX_ARCH_V32) |
16 | #error One of ARCH v10 and ARCH v32 must be true! | 12 | #error One of ARCH v10 and ARCH v32 must be true! |
17 | #endif | 13 | #endif |