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 change the one non-extended asm back t...



details:   https://anonhg.NetBSD.org/src/rev/8a84d87e7c60
branches:  trunk
changeset: 510335:8a84d87e7c60
user:      chs <chs%NetBSD.org@localhost>
date:      Sun May 27 00:58:57 2001 +0000

description:
change the one non-extended asm back to using a single % before a
register name.  the rule is that extended asms should have the
regsiter-prefix %s escaped by doubling them, but non-extended asms
don't do the escaping thing, so there the %s should not be doubled.

diffstat:

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

diffs (18 lines):

diff -r a91b798f890d -r 8a84d87e7c60 sys/arch/m68k/include/profile.h
--- a/sys/arch/m68k/include/profile.h   Sat May 26 23:27:13 2001 +0000
+++ b/sys/arch/m68k/include/profile.h   Sun May 27 00:58:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: profile.h,v 1.11 2001/05/18 15:33:03 fredette Exp $    */
+/*     $NetBSD: profile.h,v 1.12 2001/05/27 00:58:57 chs Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -75,7 +75,7 @@
  */
 #define MCOUNT_ENTER \
        __asm__("movw   %%sr,%0" : "=g" (s)); \
-       __asm__("movw   #0x2700,%%sr")
+       __asm__("movw   #0x2700,%sr")
 
 #define MCOUNT_EXIT \
        __asm__("movw   %0,%%sr" : : "g" (s))



Home | Main Index | Thread Index | Old Index