Print this page
re #13613 rb4516 Tunables needs volatile keyword

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/os/modconf.c
          +++ new/usr/src/uts/common/os/modconf.c
↓ open down ↓ 14 lines elided ↑ open up ↑
  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 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
       25 +/*
       26 + * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
       27 + */
  25   28  
  26   29  #include <sys/types.h>
  27   30  #include <sys/systm.h>
  28   31  #include <sys/param.h>
  29   32  #include <sys/user.h>
  30   33  #include <sys/vm.h>
  31   34  #include <sys/conf.h>
  32   35  #include <sys/class.h>
  33   36  #include <sys/vfs.h>
  34   37  #include <sys/vnode.h>
↓ open down ↓ 17 lines elided ↑ open up ↑
  52   55  #include <sys/debug.h>
  53   56  #include <ipp/ipp.h>
  54   57  #include <sys/strsubr.h>
  55   58  #include <sys/kcpc.h>
  56   59  #include <sys/brand.h>
  57   60  #include <sys/cpc_pcbe.h>
  58   61  #include <sys/kstat.h>
  59   62  #include <sys/socketvar.h>
  60   63  #include <sys/kiconv.h>
  61   64  
  62      -extern int moddebug;
  63      -
  64   65  extern struct cb_ops no_cb_ops;
  65   66  extern struct dev_ops nodev_ops;
  66   67  extern struct dev_ops mod_nodev_ops;
  67   68  
  68   69  extern struct modctl *mod_getctl(struct modlinkage *);
  69   70  extern int errsys(), nodev(), nulldev();
  70   71  
  71   72  extern int findmodbyname(char *);
  72   73  extern int mod_getsysnum(char *);
  73   74  
↓ open down ↓ 1402 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX