Print this page
8115 parallel zfs mount

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/kiconv.h
          +++ new/usr/src/uts/common/sys/kiconv.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
       24 + *
       25 + * Copyright 2017 RackTop Systems.
  24   26   */
  25   27  
  26   28  #ifndef _SYS_KICONV_H
  27   29  #define _SYS_KICONV_H
  28   30  
  29   31  #ifdef __cplusplus
  30   32  extern "C" {
  31   33  #endif
  32   34  
  33   35  #include <sys/types.h>
  34   36  
  35      -#ifdef  _KERNEL
       37 +#if defined(_KERNEL) || defined(_FAKE_KERNEL)
  36   38  
  37   39  /*
  38   40   * Supported fromcode/tocode values are saved in the following component type
  39   41   * of (name, id) pair. The id values of fromcode and tocode are used to
  40   42   * find out the corresponding code conversions.
  41   43   */
  42   44  typedef struct {
  43   45          char            *name;
  44   46          size_t          id;
  45   47  } kiconv_code_list_t;
↓ open down ↓ 120 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX