diff options
author | Andrew Stormont <astormont@racktopsystems.com> | 2017-11-13 01:52:27 +0000 |
---|---|---|
committer | Prakash Surya <prakash.surya@delphix.com> | 2018-01-30 12:59:03 -0800 |
commit | f06dce2c1f0f3af78581e7574f65bfba843ddb6e (patch) | |
tree | 2314988b0e243262771f89e79058e8b743107986 /usr/src/uts/common/sys/kobj.h | |
parent | 0fb055e81fd0cda5221da8ddd98b2f8d1fc6bdbe (diff) | |
download | illumos-joyent-f06dce2c1f0f3af78581e7574f65bfba843ddb6e.tar.gz |
8809 libzpool should leverage work done in libfakekernel
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/common/sys/kobj.h')
-rw-r--r-- | usr/src/uts/common/sys/kobj.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 <sys/modctl.h> #include <sys/elf.h> #include <sys/machelf.h> @@ -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 } |