Print this page
9709 Remove support for BZIP2 from dump
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4/os/machdep.c
          +++ new/usr/src/uts/sun4/os/machdep.c
↓ 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 (c) 1993, 2010, Oracle and/or its affiliates. All rights reserved.
       23 + * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
  23   24   * Copyright (c) 2017, Joyent, Inc.  All rights reserved.
  24   25   */
  25   26  
  26   27  #include <sys/types.h>
  27   28  #include <sys/kstat.h>
  28   29  #include <sys/param.h>
  29   30  #include <sys/stack.h>
  30   31  #include <sys/regset.h>
  31   32  #include <sys/thread.h>
  32   33  #include <sys/proc.h>
↓ open down ↓ 796 lines elided ↑ open up ↑
 829  830                  SMT_PAUSE();
 830  831  }
 831  832  
 832  833  /*ARGSUSED*/
 833  834  int
 834  835  plat_mem_do_mmio(struct uio *uio, enum uio_rw rw)
 835  836  {
 836  837          return (ENOTSUP);
 837  838  }
 838  839  
 839      -/* cpu threshold for compressed dumps */
 840      -#ifdef sun4v
 841      -uint_t dump_plat_mincpu_default = DUMP_PLAT_SUN4V_MINCPU;
 842      -#else
 843      -uint_t dump_plat_mincpu_default = DUMP_PLAT_SUN4U_MINCPU;
 844      -#endif
 845      -
 846  840  int
 847  841  dump_plat_addr()
 848  842  {
 849  843          return (0);
 850  844  }
 851  845  
 852  846  void
 853  847  dump_plat_pfn()
 854  848  {
 855  849  }
↓ open down ↓ 46 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX