Fix this properly, using gcc assembly syntax (thanks ws!)

This commit is contained in:
christos 1999-01-26 17:07:06 +00:00
parent 846db6691a
commit be52cd1738
1 changed files with 2 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: intr.h,v 1.10 1999/01/26 14:22:23 christos Exp $ */
/* $NetBSD: intr.h,v 1.11 1999/01/26 17:07:06 christos Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -159,11 +159,7 @@ static __inline void
softintr(mask)
register int mask;
{
#ifdef __ELF__
__asm __volatile("orl %0,ipending" : : "ir" (1 << mask));
#else
__asm __volatile("orl %0,_ipending" : : "ir" (1 << mask));
#endif
__asm __volatile("orl %1, %0" : "=m"(ipending) : "ir" (1 << mask));
}
#define setsoftast() (astpending = 1)