Print this page
6146 seg_inherit_notsup is redundant

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/vm/vm_seg.c
          +++ new/usr/src/uts/common/vm/vm_seg.c
↓ open down ↓ 1847 lines elided ↑ open up ↑
1848 1848  
1849 1849          if (seg->s_ops == &segvn_ops) {
1850 1850                  svd = (struct segvn_data *)seg->s_data;
1851 1851                  if (svd->type == MAP_PRIVATE && svd->swresv > 0)
1852 1852                          swap = svd->swresv;
1853 1853          }
1854 1854          return (swap);
1855 1855  }
1856 1856  
1857 1857  /*
1858      - * General not supported function for segop_inherit
1859      - */
1860      -/* ARGSUSED */
1861      -int
1862      -seg_inherit_notsup(struct seg *seg, caddr_t addr, size_t len, uint_t op)
1863      -{
1864      -        return (ENOTSUP);
1865      -}
1866      -
1867      -/*
1868 1858   * segop wrappers
1869 1859   */
1870 1860  int
1871 1861  segop_dup(struct seg *seg, struct seg *new)
1872 1862  {
1873 1863          return (seg->s_ops->dup(seg, new));
1874 1864  }
1875 1865  
1876 1866  int
1877 1867  segop_unmap(struct seg *seg, caddr_t addr, size_t len)
↓ open down ↓ 144 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX