From f5065c9c55ba09df36496acb0aa70a4cf1ac4522 Mon Sep 17 00:00:00 2001 From: chs Date: Sun, 27 May 2001 00:58:57 +0000 Subject: [PATCH] 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. --- sys/arch/m68k/include/profile.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/m68k/include/profile.h b/sys/arch/m68k/include/profile.h index cb9397316668..92c0e740b043 100644 --- a/sys/arch/m68k/include/profile.h +++ b/sys/arch/m68k/include/profile.h @@ -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 @@ extern void mcount __P((void)) __asm__("mcount"); void mcount() { \ */ #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))