Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Add !defined(KMEMUSER)
details: https://anonhg.NetBSD.org/src/rev/778b98979c12
branches: trunk
changeset: 784124:778b98979c12
user: matt <matt%NetBSD.org@localhost>
date: Sat Jan 19 01:06:34 2013 +0000
description:
Add !defined(KMEMUSER)
diffstat:
sys/sys/physmap.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9a1479be16f3 -r 778b98979c12 sys/sys/physmap.h
--- a/sys/sys/physmap.h Sat Jan 19 01:04:51 2013 +0000
+++ b/sys/sys/physmap.h Sat Jan 19 01:06:34 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: physmap.h,v 1.2 2013/01/19 01:04:52 rmind Exp $ */
+/* $NetBSD: physmap.h,v 1.3 2013/01/19 01:06:34 matt Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#ifndef _SYS_PHYSMAP_H_
#define _SYS_PHYSMAP_H_
-#if !defined(_KERNEL)
+#if !defined(_KERNEL) && !defined(KMEMUSER)
#error "not supposed to be exposed to userland"
#endif
Home |
Main Index |
Thread Index |
Old Index