summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/system.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-12-06 23:13:20 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-12-06 23:13:20 +0000
commit963b1cd6f5237a8df0819497f54a700820b2b8d2 (patch)
tree62005c08869911cb46138fbde3fece5ccf8da64c /include/asm-mips/system.h
parent1d67e90f19a7acfd9a05dc59678e7d0c5090bd0d (diff)
Fix compilation errors, add .cvsignore files.
Diffstat (limited to 'include/asm-mips/system.h')
-rw-r--r--include/asm-mips/system.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h
index 1f8c2722a..d224086f6 100644
--- a/include/asm-mips/system.h
+++ b/include/asm-mips/system.h
@@ -1,4 +1,4 @@
-/* $Id: system.h,v 1.18 1999/11/17 22:48:12 ralf Exp $
+/* $Id: system.h,v 1.19 1999/12/04 03:59:12 ralf Exp $
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
@@ -12,6 +12,8 @@
#define _ASM_SYSTEM_H
#include <linux/config.h>
+#include <asm/sgidefs.h>
+#include <asm/ptrace.h>
#include <linux/kernel.h>
extern __inline__ void
@@ -187,7 +189,7 @@ extern __inline__ unsigned long xchg_u32(volatile int * m, unsigned long val)
"1:\tmove\t$1,%2\n\t"
"sc\t$1,(%1)\n\t"
"beqzl\t$1,1b\n\t"
- "lld\t%0,(%1)\n\t"
+ "ll\t%0,(%1)\n\t"
".set\tat\n\t"
".set\treorder"
: "=r" (val), "=r" (m), "=r" (dummy)