diff options
author | Gordon Ross <gwr@nexenta.com> | 2013-06-17 10:34:00 -0400 |
---|---|---|
committer | Gordon Ross <gwr@nexenta.com> | 2015-06-04 16:46:25 -0400 |
commit | b819cea2f73f98c5662230cc9affc8cc84f77fcf (patch) | |
tree | a3677952ded5706400717b9b79b0aeaa3d93a739 /usr/src/uts/common/sys/kmem.h | |
parent | 83d2dfe69259e79314662cf95e6d1f9103dcffe2 (diff) | |
download | illumos-joyent-b819cea2f73f98c5662230cc9affc8cc84f77fcf.tar.gz |
5917 User-mode SMB server
Authored by: Thomas Keiser <thomas.keiser@nexenta.com>
Authored by: Albert Lee <trisk@nexenta.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Albert Lee <trisk@omniti.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/uts/common/sys/kmem.h')
-rw-r--r-- | usr/src/uts/common/sys/kmem.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/uts/common/sys/kmem.h b/usr/src/uts/common/sys/kmem.h index bf6e09f4cf..e54d83e499 100644 --- a/usr/src/uts/common/sys/kmem.h +++ b/usr/src/uts/common/sys/kmem.h @@ -22,6 +22,7 @@ /* * Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012 by Delphix. All rights reserved. + * Copyright 2013 Nexenta Systems, Inc. All rights reserved. */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ @@ -51,7 +52,7 @@ extern "C" { #define KM_FLAGS 0xffff /* all settable kmem flags */ -#ifdef _KERNEL +#if defined(_KERNEL) || defined(_FAKE_KERNEL) extern void *kmem_alloc(size_t size, int kmflags); extern void *kmem_zalloc(size_t size, int kmflags); @@ -94,7 +95,7 @@ typedef enum kmem_cbrc { KMEM_CBRC_DONT_KNOW } kmem_cbrc_t; -#ifdef _KERNEL +#if defined(_KERNEL) || defined(_FAKE_KERNEL) /* * Helps clients implementing the move() callback to recognize known objects by |