1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Fixed my usage of "asm" instead of "__asm" and "volatile" instead

of "__volatile".  Note also that the original mods that were submitted
by me were as a result of a discussion between various FreeBSD contributors.

Submitted by:	peter@haywire.dialix.com (Peter Wemm)
This commit is contained in:
John Dyson 1995-08-09 02:39:32 +00:00
parent bb2e87c4a2
commit a4353b3b5e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10010

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: spl.h,v 1.8 1995/05/11 07:44:16 bde Exp $
* $Id: spl.h,v 1.9 1995/08/08 04:50:50 dyson Exp $
*/
#ifndef _MACHINE_IPL_H_
@ -105,7 +105,7 @@ static __inline int name(void) \
{ \
unsigned x; \
\
asm volatile("":::"memory"); \
__asm __volatile("":::"memory"); \
x = cpl; \
set_cpl; \
return (x); \