Print this page
6146 seg_inherit_notsup is redundant

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/vm/seg_kpm.c
          +++ new/usr/src/uts/common/vm/seg_kpm.c
↓ open down ↓ 126 lines elided ↑ open up ↑
 127  127          .getoffset      = SEGKPM_BADOP(u_offset_t),
 128  128          .gettype        = SEGKPM_BADOP(int),
 129  129          .getvp          = SEGKPM_BADOP(int),
 130  130          .advise         = SEGKPM_BADOP(int),
 131  131          .dump           = segkpm_dump,
 132  132          .pagelock       = SEGKPM_NOTSUP,
 133  133          .setpagesize    = SEGKPM_BADOP(int),
 134  134          .getmemid       = SEGKPM_BADOP(int),
 135  135          .getpolicy      = SEGKPM_BADOP(lgrp_mem_policy_info_t *),
 136  136          .capable        = segkpm_capable,
 137      -        .inherit        = seg_inherit_notsup,
 138  137  };
 139  138  
 140  139  /*
 141  140   * kpm_pgsz and kpm_pgshft are set by platform layer.
 142  141   */
 143  142  size_t          kpm_pgsz;       /* kpm page size */
 144  143  uint_t          kpm_pgshft;     /* kpm page shift */
 145  144  u_offset_t      kpm_pgoff;      /* kpm page offset mask */
 146  145  uint_t          kpmp2pshft;     /* kpm page to page shift */
 147  146  pgcnt_t         kpmpnpgs;       /* how many pages per kpm page */
↓ open down ↓ 194 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX