aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/regdef.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2011-09-29 04:38:53 +0200
committerRalf Baechle <ralf@linux-mips.org>2011-10-24 23:34:27 +0100
commit3ba1e543ab4b02640d396098f2f6a199560d5f2d (patch)
treec9391dc4f5e8d70541c79caf6bfb897e02816f05 /arch/mips/include/asm/regdef.h
parent939991cff173f769efb8c56286d4e59fb9ced191 (diff)
downloadleg-kernel-3ba1e543ab4b02640d396098f2f6a199560d5f2d.tar.gz
MIPS: O32: Provide definition of registers ta0 .. ta3.
Later IRIX versions provide them in <sys/regdef.h> and gas also accepts $ta0 .. $ta3 since binutils 2.18 so Linux should do the same for source compatibility.
Diffstat (limited to 'arch/mips/include/asm/regdef.h')
-rw-r--r--arch/mips/include/asm/regdef.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/include/asm/regdef.h b/arch/mips/include/asm/regdef.h
index 7c8ecb6b9c40..785a5189b374 100644
--- a/arch/mips/include/asm/regdef.h
+++ b/arch/mips/include/asm/regdef.h
@@ -6,6 +6,8 @@
* Copyright (C) 1985 MIPS Computer Systems, Inc.
* Copyright (C) 1994, 95, 99, 2003 by Ralf Baechle
* Copyright (C) 1990 - 1992, 1999 Silicon Graphics, Inc.
+ * Copyright (C) 2011 Wind River Systems,
+ * written by Ralf Baechle <ralf@linux-mips.org>
*/
#ifndef _ASM_REGDEF_H
#define _ASM_REGDEF_H
@@ -30,9 +32,13 @@
#define t2 $10
#define t3 $11
#define t4 $12
+#define ta0 $12
#define t5 $13
+#define ta1 $13
#define t6 $14
+#define ta2 $14
#define t7 $15
+#define ta3 $15
#define s0 $16 /* callee saved */
#define s1 $17
#define s2 $18