Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hppa/include re-fix hppa builds.
details: https://anonhg.NetBSD.org/src/rev/bdaeb809eabe
branches: trunk
changeset: 377463:bdaeb809eabe
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Jul 13 07:46:43 2023 +0000
description:
re-fix hppa builds.
this file uses __cpu_simple_lock(), not just the underlying type,
so it does need machine/lock.h.
diffstat:
sys/arch/hppa/include/mutex.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r ecd95c048d9e -r bdaeb809eabe sys/arch/hppa/include/mutex.h
--- a/sys/arch/hppa/include/mutex.h Thu Jul 13 07:19:24 2023 +0000
+++ b/sys/arch/hppa/include/mutex.h Thu Jul 13 07:46:43 2023 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index