Print this page
8115 parallel zfs mount

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/systeminfo.h
          +++ new/usr/src/uts/common/sys/systeminfo.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  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 2014 Garrett D'Amore <garrett@damore.org>
       23 + * Copyright 2017 RackTop Systems.
  23   24   *
  24   25   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  25   26   * Use is subject to license terms.
  26   27   */
  27   28  
  28   29  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  29   30  /*        All Rights Reserved   */
  30   31  
  31   32  
  32   33  #ifndef _SYS_SYSTEMINFO_H
  33   34  #define _SYS_SYSTEMINFO_H
  34   35  
  35   36  #ifdef  __cplusplus
  36   37  extern "C" {
  37   38  #endif
  38   39  
  39      -#ifdef  _KERNEL
       40 +#if defined(_KERNEL) || defined(_FAKE_KERNEL)
  40   41  extern char architecture[];
  41   42  extern char architecture_32[];
  42   43  extern char hw_serial[];        /* machine's 32-bit hostid; a decimal string */
  43   44  extern char hw_provider[];
  44   45  extern char srpc_domain[];
  45   46  extern char platform[];
  46      -#endif  /* _KERNEL */
       47 +#endif  /* _KERNEL || _FAKE_KERNEL */
  47   48  
  48   49  /*
  49   50   * Commands to sysinfo(2)
  50   51   *
  51   52   * Values for sysinfo(2) commands are to be assigned by the following
  52   53   * algorithm:
  53   54   *
  54   55   *    1 -  256  Unix International assigned numbers for `get' style commands.
  55   56   *  257 -  512  Unix International assigned numbers for `set' style commands
  56   57   *              where the value is selected to be the value for the
↓ open down ↓ 54 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX