Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/include __HAVE_HASHLOCKED_ATOMICS needs to be...
details: https://anonhg.NetBSD.org/src/rev/e26d88ee9b3e
branches: trunk
changeset: 373920:e26d88ee9b3e
user: martin <martin%NetBSD.org@localhost>
date: Mon Mar 20 11:07:33 2023 +0000
description:
__HAVE_HASHLOCKED_ATOMICS needs to be visible to userland
diffstat:
sys/arch/sparc/include/types.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f78c380b5fcc -r e26d88ee9b3e sys/arch/sparc/include/types.h
--- a/sys/arch/sparc/include/types.h Mon Mar 20 09:15:52 2023 +0000
+++ b/sys/arch/sparc/include/types.h Mon Mar 20 11:07:33 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.72 2022/07/30 14:13:27 riastradh Exp $ */
+/* $NetBSD: types.h,v 1.73 2023/03/20 11:07:33 martin Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -136,7 +136,7 @@
#define __HAVE_FAST_SOFTINTS
#else
#define __HAVE_MM_MD_READWRITE
-#ifdef MULTIPROCESSOR
+#if !defined(_KERNEL) || defined(MULTIPROCESSOR)
#define __HAVE_HASHLOCKED_ATOMICS
#endif
#endif
Home |
Main Index |
Thread Index |
Old Index