Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/cesfic/include cesfic/intr.h: Expose ipl_cookie_t t...
details: https://anonhg.NetBSD.org/src/rev/e179f2fff6ce
branches: trunk
changeset: 377421:e179f2fff6ce
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue Jul 11 10:55:02 2023 +0000
description:
cesfic/intr.h: Expose ipl_cookie_t to userland only with _KMEMUSER.
Probably not necessary but let's be a little more cautious about
this.
diffstat:
sys/arch/cesfic/include/intr.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7a370a119731 -r e179f2fff6ce sys/arch/cesfic/include/intr.h
--- a/sys/arch/cesfic/include/intr.h Tue Jul 11 10:47:24 2023 +0000
+++ b/sys/arch/cesfic/include/intr.h Tue Jul 11 10:55:02 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.14 2023/07/11 10:47:24 riastradh Exp $ */
+/* $NetBSD: intr.h,v 1.15 2023/07/11 10:55:02 riastradh Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -46,7 +46,7 @@
*/
#include <machine/psl.h>
-#ifndef _LOCORE
+#if (defined(_KERNEL) || defined(_KMEMUSER)) && !defined(_LOCORE)
typedef struct {
uint16_t _psl;
Home |
Main Index |
Thread Index |
Old Index