Print this page
patch SEGOP_SWAPOUT-delete
*** 92,102 ****
SEGSPT_BADOP(int), /* fault */
SEGSPT_BADOP(faultcode_t), /* faulta */
SEGSPT_BADOP(int), /* setprot */
SEGSPT_BADOP(int), /* checkprot */
SEGSPT_BADOP(int), /* kluster */
- SEGSPT_BADOP(size_t), /* swapout */
SEGSPT_BADOP(int), /* sync */
SEGSPT_BADOP(size_t), /* incore */
SEGSPT_BADOP(int), /* lockop */
SEGSPT_BADOP(int), /* getprot */
SEGSPT_BADOP(u_offset_t), /* getoffset */
--- 92,101 ----
*** 120,130 ****
static int segspt_shmsetprot(register struct seg *seg, register caddr_t addr,
register size_t len, register uint_t prot);
static int segspt_shmcheckprot(struct seg *seg, caddr_t addr, size_t size,
uint_t prot);
static int segspt_shmkluster(struct seg *seg, caddr_t addr, ssize_t delta);
- static size_t segspt_shmswapout(struct seg *seg);
static size_t segspt_shmincore(struct seg *seg, caddr_t addr, size_t len,
register char *vec);
static int segspt_shmsync(struct seg *seg, register caddr_t addr, size_t len,
int attr, uint_t flags);
static int segspt_shmlockop(struct seg *seg, caddr_t addr, size_t len,
--- 119,128 ----
*** 151,161 ****
segspt_shmfault,
segspt_shmfaulta,
segspt_shmsetprot,
segspt_shmcheckprot,
segspt_shmkluster,
- segspt_shmswapout,
segspt_shmsync,
segspt_shmincore,
segspt_shmlockop,
segspt_shmgetprot,
segspt_shmgetoffset,
--- 149,158 ----
*** 2260,2276 ****
segspt_shmkluster(struct seg *seg, caddr_t addr, ssize_t delta)
{
return (0);
}
- /*ARGSUSED*/
- static size_t
- segspt_shmswapout(struct seg *seg)
- {
- return (0);
- }
-
/*
* duplicate the shared page tables
*/
int
segspt_shmdup(struct seg *seg, struct seg *newseg)
--- 2257,2266 ----