summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_intr.c4
-rw-r--r--sys/kern/kern_lock.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
index c39dea7..384a2d2 100644
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: kern_intr.c,v 1.12 1997/10/06 04:27:32 nate Exp $
+ * $Id: kern_intr.c,v 1.13 1998/02/10 17:10:23 eivind Exp $
*
*/
@@ -61,7 +61,7 @@ typedef struct intrec {
#ifndef SMP
#include <machine/ipl.h>
-static inline intrmask_t
+static __inline intrmask_t
splq(intrmask_t mask)
{
intrmask_t tmp = cpl;
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c
index d3d0df0..65a84ea 100644
--- a/sys/kern/kern_lock.c
+++ b/sys/kern/kern_lock.c
@@ -38,7 +38,7 @@
* SUCH DAMAGE.
*
* @(#)kern_lock.c 8.18 (Berkeley) 5/21/95
- * $Id: kern_lock.c,v 1.17 1998/02/11 00:05:26 eivind Exp $
+ * $Id: kern_lock.c,v 1.18 1998/03/07 19:25:34 dyson Exp $
*/
#include "opt_lint.h"
@@ -65,7 +65,7 @@
#if defined(DIAGNOSTIC)
#define LOCK_INLINE
#else
-#define LOCK_INLINE inline
+#define LOCK_INLINE __inline
#endif
#define LK_ALL (LK_HAVE_EXCL | LK_WANT_EXCL | LK_WANT_UPGRADE | \
OpenPOWER on IntegriCloud