Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys device.h also now needs pmf_qual_t exposed for _KMEM...
details: https://anonhg.NetBSD.org/src/rev/e78d4beb2d73
branches: trunk
changeset: 320906:e78d4beb2d73
user: kre <kre%NetBSD.org@localhost>
date: Sun Mar 04 19:23:33 2018 +0000
description:
device.h also now needs pmf_qual_t exposed for _KMEMUSERs
diffstat:
sys/sys/pmf.h | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 7750c41a360f -r e78d4beb2d73 sys/sys/pmf.h
--- a/sys/sys/pmf.h Sun Mar 04 18:07:34 2018 +0000
+++ b/sys/sys/pmf.h Sun Mar 04 19:23:33 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmf.h,v 1.22 2017/10/05 01:26:53 jmcneill Exp $ */
+/* $NetBSD: pmf.h,v 1.23 2018/03/04 19:23:33 kre Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#ifndef _SYS_PMF_H
#define _SYS_PMF_H
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_KMEMUSER)
#include <sys/types.h>
#include <sys/device_if.h>
@@ -62,6 +62,9 @@
};
typedef struct pmf_qual pmf_qual_t;
+#endif
+
+#if defined(_KERNEL)
extern const pmf_qual_t * const PMF_Q_NONE;
extern const pmf_qual_t * const PMF_Q_SELF;
extern const pmf_qual_t * const PMF_Q_DRVCTL;
Home |
Main Index |
Thread Index |
Old Index