From cce12d917b9c6261ec24df53b0c3b0a9a1afe247 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 15 Jan 2001 19:50:40 +0000 Subject: __asm__ and __volatile__ --- sys/arch/mvme88k/include/prom.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/mvme88k/include/prom.h') diff --git a/sys/arch/mvme88k/include/prom.h b/sys/arch/mvme88k/include/prom.h index c8a8a13eac8..2fd9b7a3ec0 100644 --- a/sys/arch/mvme88k/include/prom.h +++ b/sys/arch/mvme88k/include/prom.h @@ -1,4 +1,4 @@ -/* $OpenBSD: prom.h,v 1.5 2001/01/14 20:25:24 smurph Exp $ */ +/* $OpenBSD: prom.h,v 1.6 2001/01/15 19:50:38 deraadt Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -160,8 +160,8 @@ struct mvmeprom_args { #endif #define MVMEPROM_CALL(x) \ - asm volatile ( __CONCAT("or r9,r0,",__STRING(x)) ); \ - asm volatile ("tb0 0,r0,496"); + __asm__ __volatile__ ( __CONCAT("or r9,r0,",__STRING(x)) ); \ + __asm__ __volatile__ ("tb0 0,r0,496"); #define MVMEPROM_REG_DEVLUN "r2" #define MVMEPROM_REG_CTRLLUN "r3" -- cgit v1.2.3