Print this page
6146 seg_inherit_notsup is redundant

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/vm/seg_kp.c
          +++ new/usr/src/uts/common/vm/seg_kp.c
↓ open down ↓ 161 lines elided ↑ open up ↑
 162  162          .getoffset      = SEGKP_BADOP(u_offset_t),
 163  163          .gettype        = SEGKP_BADOP(int),
 164  164          .getvp          = SEGKP_BADOP(int),
 165  165          .advise         = SEGKP_BADOP(int),
 166  166          .dump           = segkp_dump,
 167  167          .pagelock       = segkp_pagelock,
 168  168          .setpagesize    = SEGKP_BADOP(int),
 169  169          .getmemid       = segkp_getmemid,
 170  170          .getpolicy      = segkp_getpolicy,
 171  171          .capable        = segkp_capable,
 172      -        .inherit        = seg_inherit_notsup,
 173  172  };
 174  173  
 175  174  
 176  175  static void
 177  176  segkp_badop(void)
 178  177  {
 179  178          panic("segkp_badop");
 180  179          /*NOTREACHED*/
 181  180  }
 182  181  
↓ open down ↓ 1284 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX