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 port-arm/50563: pool allocator corrupti...
details: https://anonhg.NetBSD.org/src/rev/df0059768527
branches: trunk
changeset: 1029188:df0059768527
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Dec 26 08:41:29 2021 +0000
description:
port-arm/50563: pool allocator corruption due to __MUTEX_PRIVATE
This file has moved on somewhat since the PR was raised, but nevertheless
let's add the CTASSERT "just in case".
diffstat:
sys/arch/arm/include/mutex.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 2f99332c43ee -r df0059768527 sys/arch/arm/include/mutex.h
--- a/sys/arch/arm/include/mutex.h Sun Dec 26 03:07:06 2021 +0000
+++ b/sys/arch/arm/include/mutex.h Sun Dec 26 08:41:29 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mutex.h,v 1.26 2021/08/25 04:13:41 thorpej Exp $ */
+/* $NetBSD: mutex.h,v 1.27 2021/12/26 08:41:29 skrll Exp $ */
/*-
* Copyright (c) 2002, 2007 The NetBSD Foundation, Inc.
@@ -82,4 +82,6 @@
#endif /* __MUTEX_PRIVATE */
+__CTASSERT(sizeof(struct kmutex) == sizeof(uintptr_t));
+
#endif /* _ARM_MUTEX_H_ */
Home |
Main Index |
Thread Index |
Old Index