From 97f7daf8ea67841c55c3daa8e55735c04ae2195b Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 17 Nov 1999 22:48:12 +0000 Subject: Fix a small but highly effective 64-bit bug that also hit MIPS-32. --- include/asm-mips64/system.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/asm-mips64') diff --git a/include/asm-mips64/system.h b/include/asm-mips64/system.h index 54b1a3cfd..76924b7f4 100644 --- a/include/asm-mips64/system.h +++ b/include/asm-mips64/system.h @@ -1,4 +1,4 @@ -/* $Id: system.h,v 1.1 1999/08/18 23:37:52 ralf Exp $ +/* $Id: system.h,v 1.2 1999/10/09 00:01:43 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 @@ -193,7 +193,7 @@ extern __inline__ unsigned long xchg_u64(volatile long * m, unsigned long val) "1:\tmove\t$1,%2\n\t" "scd\t$1,(%1)\n\t" "beqzl\t$1,1b\n\t" - "ll\t%0,(%1)\n\t" + "lld\t%0,(%1)\n\t" ".set\tat\n\t" ".set\treorder" : "=r" (val), "=r" (m), "=r" (dummy) -- cgit v1.2.3