Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include arm/mutex.h: Need machine/intr.h, machi...
details: https://anonhg.NetBSD.org/src/rev/a4d81522cd09
branches: trunk
changeset: 377414:a4d81522cd09
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue Jul 11 10:41:58 2023 +0000
description:
arm/mutex.h: Need machine/intr.h, machine/lock.h.
For ipl_cookie_t and __cpu_simple_lock_t.
diffstat:
sys/arch/arm/include/mutex.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 4606650a13c5 -r a4d81522cd09 sys/arch/arm/include/mutex.h
--- a/sys/arch/arm/include/mutex.h Tue Jul 11 09:48:56 2023 +0000
+++ b/sys/arch/arm/include/mutex.h Tue Jul 11 10:41:58 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mutex.h,v 1.27 2021/12/26 08:41:29 skrll Exp $ */
+/* $NetBSD: mutex.h,v 1.28 2023/07/11 10:41:58 riastradh Exp $ */
/*-
* Copyright (c) 2002, 2007 The NetBSD Foundation, Inc.
@@ -32,6 +32,11 @@
#ifndef _ARM_MUTEX_H_
#define _ARM_MUTEX_H_
+#ifdef _KERNEL
+#include <machine/intr.h>
+#include <machine/lock.h>
+#endif
+
/*
* The ARM mutex implementation is troublesome, because pre-v6 ARM lacks a
* compare-and-swap operation. However, there aren't any MP pre-v6 ARM
Home |
Main Index |
Thread Index |
Old Index