diff options
author | Paul Burton <paul.burton@mips.com> | 2018-10-15 18:33:23 +0000 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2018-10-15 23:11:14 -0700 |
commit | 7f8502a539bbfca7c3027e0279060eb46dfde59f (patch) | |
tree | 7b53cd472fcff229a4c3308a8d524b266e424255 /arch/mips | |
parent | 1d6fb222bd23696a25b9b256a3e076b9c60677b8 (diff) | |
download | linux-7f8502a539bbfca7c3027e0279060eb46dfde59f.tar.bz2 |
MIPS: Remove unused PREF, PREFE & PREFX macros
asm/asm.h provides PREF(), PREFE() & PREFX() macros which are now
entirely unused. Delete the dead code.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20908/
Cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/asm/asm.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/arch/mips/include/asm/asm.h b/arch/mips/include/asm/asm.h index 74b1c6fd8277..c23527ba65d0 100644 --- a/arch/mips/include/asm/asm.h +++ b/arch/mips/include/asm/asm.h @@ -104,42 +104,6 @@ symbol = value .popsection; /* - * MIPS IV pref instruction. - * Use with .set noreorder only! - * - * MIPS IV implementations are free to treat this as a nop. The R5000 - * is one of them. So we should have an option not to use this instruction. - */ -#ifdef CONFIG_CPU_HAS_PREFETCH - -#define PREF(hint,addr) \ - .set push; \ - .set arch=r5000; \ - pref hint, addr; \ - .set pop - -#define PREFE(hint, addr) \ - .set push; \ - .set mips0; \ - .set eva; \ - prefe hint, addr; \ - .set pop - -#define PREFX(hint,addr) \ - .set push; \ - .set arch=r5000; \ - prefx hint, addr; \ - .set pop - -#else /* !CONFIG_CPU_HAS_PREFETCH */ - -#define PREF(hint, addr) -#define PREFE(hint, addr) -#define PREFX(hint, addr) - -#endif /* !CONFIG_CPU_HAS_PREFETCH */ - -/* * Stack alignment */ #if (_MIPS_SIM == _MIPS_SIM_ABI32) |