Module Name: src
Committed By: riastradh
Date: Tue Jul 11 10:55:02 UTC 2023
Modified Files:
src/sys/arch/cesfic/include: intr.h
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/cesfic/include/intr.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/cesfic/include/intr.h
diff -u src/sys/arch/cesfic/include/intr.h:1.14 src/sys/arch/cesfic/include/intr.h:1.15
--- src/sys/arch/cesfic/include/intr.h:1.14 Tue Jul 11 10:47:24 2023
+++ src/sys/arch/cesfic/include/intr.h Tue Jul 11 10:55:02 2023
@@ -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;