diff options
-rw-r--r-- | arch/mips/include/asm/asm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/include/asm/asm.h b/arch/mips/include/asm/asm.h index 879691d194af..b79be18a9267 100644 --- a/arch/mips/include/asm/asm.h +++ b/arch/mips/include/asm/asm.h | |||
@@ -149,6 +149,13 @@ symbol = value | |||
149 | pref hint, addr; \ | 149 | pref hint, addr; \ |
150 | .set pop | 150 | .set pop |
151 | 151 | ||
152 | #define PREFE(hint, addr) \ | ||
153 | .set push; \ | ||
154 | .set mips0; \ | ||
155 | .set eva; \ | ||
156 | prefe hint, addr; \ | ||
157 | .set pop | ||
158 | |||
152 | #define PREFX(hint,addr) \ | 159 | #define PREFX(hint,addr) \ |
153 | .set push; \ | 160 | .set push; \ |
154 | .set mips4; \ | 161 | .set mips4; \ |
@@ -158,6 +165,7 @@ symbol = value | |||
158 | #else /* !CONFIG_CPU_HAS_PREFETCH */ | 165 | #else /* !CONFIG_CPU_HAS_PREFETCH */ |
159 | 166 | ||
160 | #define PREF(hint, addr) | 167 | #define PREF(hint, addr) |
168 | #define PREFE(hint, addr) | ||
161 | #define PREFX(hint, addr) | 169 | #define PREFX(hint, addr) |
162 | 170 | ||
163 | #endif /* !CONFIG_CPU_HAS_PREFETCH */ | 171 | #endif /* !CONFIG_CPU_HAS_PREFETCH */ |