diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-15 19:50:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-15 19:50:40 +0000 |
commit | cce12d917b9c6261ec24df53b0c3b0a9a1afe247 (patch) | |
tree | d52593cd9ef97090045e1c61b8cd0e23dc1b0a8a /sys/arch/mvme88k/include/prom.h | |
parent | 99f51f841264d8a8b02dbb59090bfc5bd3ea31a9 (diff) |
__asm__ and __volatile__
Diffstat (limited to 'sys/arch/mvme88k/include/prom.h')
-rw-r--r-- | sys/arch/mvme88k/include/prom.h | 6 |
1 files changed, 3 insertions, 3 deletions
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" |