diff options
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r-- | arch/mips/include/asm/jump_label.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/mips/include/asm/jump_label.h b/arch/mips/include/asm/jump_label.h index fdbff44e5482..608aa57799c8 100644 --- a/arch/mips/include/asm/jump_label.h +++ b/arch/mips/include/asm/jump_label.h | |||
@@ -8,9 +8,9 @@ | |||
8 | #ifndef _ASM_MIPS_JUMP_LABEL_H | 8 | #ifndef _ASM_MIPS_JUMP_LABEL_H |
9 | #define _ASM_MIPS_JUMP_LABEL_H | 9 | #define _ASM_MIPS_JUMP_LABEL_H |
10 | 10 | ||
11 | #include <linux/types.h> | 11 | #ifndef __ASSEMBLY__ |
12 | 12 | ||
13 | #ifdef __KERNEL__ | 13 | #include <linux/types.h> |
14 | 14 | ||
15 | #define JUMP_LABEL_NOP_SIZE 4 | 15 | #define JUMP_LABEL_NOP_SIZE 4 |
16 | 16 | ||
@@ -39,8 +39,6 @@ l_yes: | |||
39 | return true; | 39 | return true; |
40 | } | 40 | } |
41 | 41 | ||
42 | #endif /* __KERNEL__ */ | ||
43 | |||
44 | #ifdef CONFIG_64BIT | 42 | #ifdef CONFIG_64BIT |
45 | typedef u64 jump_label_t; | 43 | typedef u64 jump_label_t; |
46 | #else | 44 | #else |
@@ -53,4 +51,5 @@ struct jump_entry { | |||
53 | jump_label_t key; | 51 | jump_label_t key; |
54 | }; | 52 | }; |
55 | 53 | ||
54 | #endif /* __ASSEMBLY__ */ | ||
56 | #endif /* _ASM_MIPS_JUMP_LABEL_H */ | 55 | #endif /* _ASM_MIPS_JUMP_LABEL_H */ |