Module Name:    src
Committed By:   mrg
Date:           Thu Jul 13 07:46:44 UTC 2023

Modified Files:
        src/sys/arch/hppa/include: mutex.h

Log Message:
re-fix hppa builds.

this file uses __cpu_simple_lock(), not just the underlying type,
so it does need machine/lock.h.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/hppa/include/mutex.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hppa/include/mutex.h
diff -u src/sys/arch/hppa/include/mutex.h:1.18 src/sys/arch/hppa/include/mutex.h:1.19
--- src/sys/arch/hppa/include/mutex.h:1.18	Wed Jul 12 12:50:12 2023
+++ src/sys/arch/hppa/include/mutex.h	Thu Jul 13 07:46:43 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: mutex.h,v 1.18 2023/07/12 12:50:12 riastradh Exp $	*/
+/*	$NetBSD: mutex.h,v 1.19 2023/07/13 07:46:43 mrg Exp $	*/
 
 /*-
  * Copyright (c) 2002, 2007 The NetBSD Foundation, Inc.
@@ -45,6 +45,7 @@
 #include <sys/types.h>
 
 #ifdef __MUTEX_PRIVATE
+#include <machine/lock.h>
 #include <machine/intr.h>
 #endif
 

Reply via email to