From f06dce2c1f0f3af78581e7574f65bfba843ddb6e Mon Sep 17 00:00:00 2001 From: Andrew Stormont Date: Mon, 13 Nov 2017 01:52:27 +0000 Subject: 8809 libzpool should leverage work done in libfakekernel Reviewed by: Sebastien Roy Reviewed by: Prakash Surya Reviewed by: Gordon Ross Approved by: Richard Lowe --- usr/src/uts/common/sys/kobj.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr/src/uts/common/sys/kobj.h') diff --git a/usr/src/uts/common/sys/kobj.h b/usr/src/uts/common/sys/kobj.h index 8537430ed0..2396ef4625 100644 --- a/usr/src/uts/common/sys/kobj.h +++ b/usr/src/uts/common/sys/kobj.h @@ -21,13 +21,13 @@ /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * + * Copyright 2017 RackTop Systems. */ #ifndef _SYS_KOBJ_H #define _SYS_KOBJ_H -#pragma ident "%Z%%M% %I% %E% SMI" - #include #include #include @@ -158,7 +158,7 @@ typedef struct { #define F_BLKS(file, size) ((size / (file)->_bsize) * (file)->_bsize) -#if defined(_KERNEL) +#if defined(_KERNEL) || defined(_FAKE_KERNEL) extern int kobj_load_module(struct modctl *, int); extern void kobj_unload_module(struct modctl *); @@ -202,7 +202,7 @@ extern void kobj_stat_get(kobj_stat_t *); extern void kobj_textwin_alloc(struct module *); extern void kobj_textwin_free(struct module *); -#endif /* defined(_KERNEL) */ +#endif /* defined(_KERNEL) || defined(_FAKE_KERNEL) */ #ifdef __cplusplus } -- cgit v1.2.3