summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/asm.h
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2018-10-15 20:33:19 +0200
committerPaul Burton <paul.burton@mips.com>2018-10-16 08:11:12 +0200
commitfce362c7fc3f89687b4b0eecefd7de8baa91a679 (patch)
treefb21337f6e5bb16d27cb8ae5bec63eec6925b712 /arch/mips/include/asm/asm.h
parentMIPS: Remove unused MOVN & MOVZ macros (diff)
downloadlinux-fce362c7fc3f89687b4b0eecefd7de8baa91a679.tar.xz
linux-fce362c7fc3f89687b4b0eecefd7de8baa91a679.zip
MIPS: Remove unused PIC macros
asm/asm.h contains CPRESTORE, CPADD & CPLOAD macros that are intended for use with position independent code, but are not used anywhere in the kernel - along with a comment to that effect. Remove the dead code. Signed-off-by: Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/20903/ Cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/mips/include/asm/asm.h')
-rw-r--r--arch/mips/include/asm/asm.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/mips/include/asm/asm.h b/arch/mips/include/asm/asm.h
index 4e4f60597c72..03711771d51f 100644
--- a/arch/mips/include/asm/asm.h
+++ b/arch/mips/include/asm/asm.h
@@ -30,23 +30,6 @@
#endif
/*
- * PIC specific declarations
- * Not used for the kernel but here seems to be the right place.
- */
-#ifdef __PIC__
-#define CPRESTORE(register) \
- .cprestore register
-#define CPADD(register) \
- .cpadd register
-#define CPLOAD(register) \
- .cpload register
-#else
-#define CPRESTORE(register)
-#define CPADD(register)
-#define CPLOAD(register)
-#endif
-
-/*
* LEAF - declare leaf routine
*/
#define LEAF(symbol) \