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-mips/system.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/asm-mips') diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h index 50c7b0d36..fa0e78feb 100644 --- a/include/asm-mips/system.h +++ b/include/asm-mips/system.h @@ -1,4 +1,4 @@ -/* $Id: system.h,v 1.16 1999/10/09 00:01:43 ralf Exp $ +/* $Id: system.h,v 1.17 1999/10/12 17:33:50 harald 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 @@ -221,7 +221,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