Print this page
6152 use NULL dump segop as a shorthand for no-op
@@ -100,11 +100,10 @@
/*
* 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
@@ -125,11 +124,10 @@
.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 *),
};
@@ -316,13 +314,5 @@
static int
segkpm_notsup()
{
return (ENOTSUP);
}
-
-/*
- * segkpm pages are not dumped, so we just return
- */
-/*ARGSUSED*/
-static void
-segkpm_dump(struct seg *seg)
-{}