Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/m68k/include If = is in a constraint, it must be th...



details:   https://anonhg.NetBSD.org/src/rev/e1152e3ef2c1
branches:  trunk
changeset: 513600:e1152e3ef2c1
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Aug 05 04:40:03 2001 +0000

description:
If = is in a constraint, it must be the first character.

diffstat:

 sys/arch/m68k/include/psl.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b9477c4950e9 -r e1152e3ef2c1 sys/arch/m68k/include/psl.h
--- a/sys/arch/m68k/include/psl.h       Sun Aug 05 03:37:37 2001 +0000
+++ b/sys/arch/m68k/include/psl.h       Sun Aug 05 04:40:03 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: psl.h,v 1.8 2000/12/11 20:05:33 scw Exp $      */
+/*     $NetBSD: psl.h,v 1.9 2001/08/05 04:40:03 matt Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -83,7 +83,7 @@
        int sr;
 
        __asm __volatile ("movew %%sr,%0; movew %1,%%sr" :
-           "&=d" (sr) : "di" (s));
+           "=&d" (sr) : "di" (s));
 
        return sr;
 }



Home | Main Index | Thread Index | Old Index