Module Name:    src
Committed By:   matt
Date:           Sat Jan 19 01:06:34 UTC 2013

Modified Files:
        src/sys/sys: physmap.h

Log Message:
Add !defined(KMEMUSER)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/sys/physmap.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/sys/physmap.h
diff -u src/sys/sys/physmap.h:1.2 src/sys/sys/physmap.h:1.3
--- src/sys/sys/physmap.h:1.2	Sat Jan 19 01:04:52 2013
+++ src/sys/sys/physmap.h	Sat Jan 19 01:06:34 2013
@@ -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
 

Reply via email to