From fdcd0779286013c95feb7d60f019e2f4d6d68014 Mon Sep 17 00:00:00 2001 From: thorpej Date: Wed, 5 Nov 1997 00:34:15 +0000 Subject: [PATCH] asm -> __asm__ --- sys/arch/arm32/include/profile.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/sys/arch/arm32/include/profile.h b/sys/arch/arm32/include/profile.h index 6a26d11889a5..00d341705ce8 100644 --- a/sys/arch/arm32/include/profile.h +++ b/sys/arch/arm32/include/profile.h @@ -1,4 +1,4 @@ -/* $NetBSD: profile.h,v 1.6 1997/10/14 09:20:28 mark Exp $ */ +/* $NetBSD: profile.h,v 1.7 1997/11/05 00:34:15 thorpej Exp $ */ /* * Copyright (c) 1995-1996 Mark Brinicombe @@ -37,34 +37,34 @@ * prologue. */ #define MCOUNT \ - asm(".text"); \ - asm(".align 0"); \ - asm(".type mcount,@function"); \ - asm(".global mcount"); \ - asm("mcount:"); \ + __asm__(".text"); \ + __asm__(".align 0"); \ + __asm__(".type mcount,@function"); \ + __asm__(".global mcount"); \ + __asm__("mcount:"); \ /* \ * Preserve registers that are trashed during mcount \ */ \ - asm("stmfd sp!, {r0-r3, lr}"); \ + __asm__("stmfd sp!, {r0-r3, lr}"); \ /* \ * find the return address for mcount, \ * and the return address for mcount's caller. \ * \ * frompcindex = pc pushed by call into self. \ */ \ - asm("mov r0, ip"); \ + __asm__("mov r0, ip"); \ /* \ * selfpc = pc pushed by mcount call \ */ \ - asm("mov r1, lr"); \ + __asm__("mov r1, lr"); \ /* \ * Call the real mcount code \ */ \ - asm("bl __mcount"); \ + __asm__("bl __mcount"); \ /* \ * Restore registers that were trashed during mcount \ */ \ - asm("ldmfd sp!, {r0-r3, pc}"); + __asm__("ldmfd sp!, {r0-r3, pc}"); #ifdef _KERNEL /*