Print this page
6152 use NULL dump segop as a shorthand for no-op
*** 100,110 ****
/*
* Private seg op routines.
*/
faultcode_t segkpm_fault(struct hat *hat, struct seg *seg, caddr_t addr,
size_t len, enum fault_type type, enum seg_rw rw);
- static void segkpm_dump(struct seg *);
static void segkpm_badop(void);
static int segkpm_notsup(void);
#define SEGKPM_BADOP(t) (t(*)())segkpm_badop
#define SEGKPM_NOTSUP (int(*)())segkpm_notsup
--- 100,109 ----
*** 125,135 ****
.getprot = SEGKPM_BADOP(int),
.getoffset = SEGKPM_BADOP(u_offset_t),
.gettype = SEGKPM_BADOP(int),
.getvp = SEGKPM_BADOP(int),
.advise = SEGKPM_BADOP(int),
- .dump = segkpm_dump,
.pagelock = SEGKPM_NOTSUP,
.setpagesize = SEGKPM_BADOP(int),
.getmemid = SEGKPM_BADOP(int),
.getpolicy = SEGKPM_BADOP(lgrp_mem_policy_info_t *),
};
--- 124,133 ----
*** 316,328 ****
static int
segkpm_notsup()
{
return (ENOTSUP);
}
-
- /*
- * segkpm pages are not dumped, so we just return
- */
- /*ARGSUSED*/
- static void
- segkpm_dump(struct seg *seg)
- {}
--- 314,318 ----