diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2016-07-16 06:32:19 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2016-07-16 06:32:19 +0000 |
commit | d44dc9926079680541f80139388e7fa990ddd64a (patch) | |
tree | 53ea09d6f39d3ec4de884fefecd19b83ebd3808a /sys | |
parent | b6237f43f6d2a97d1a88caddb981cacc668c1ed6 (diff) |
remove unused vmm_activate function. all vmm-specific suspend/resume needs
are handled during cpu hatch.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/amd64/vmm.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c index 24107ce7575..6c0e8c52658 100644 --- a/sys/arch/amd64/amd64/vmm.c +++ b/sys/arch/amd64/amd64/vmm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmm.c,v 1.66 2016/07/13 06:57:35 mlarkin Exp $ */ +/* $OpenBSD: vmm.c,v 1.67 2016/07/16 06:32:18 mlarkin Exp $ */ /* * Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org> * @@ -100,7 +100,6 @@ struct vmm_softc { int vmm_probe(struct device *, void *, void *); void vmm_attach(struct device *, struct device *, void *); -int vmm_activate(struct device *, int); int vmmopen(dev_t, int, int, struct proc *); int vmmioctl(dev_t, u_long, caddr_t, int, struct proc *); int vmmclose(dev_t, int, int, struct proc *); @@ -187,7 +186,7 @@ struct cfdriver vmm_cd = { }; const struct cfattach vmm_ca = { - sizeof(struct vmm_softc), vmm_probe, vmm_attach, NULL, vmm_activate + sizeof(struct vmm_softc), vmm_probe, vmm_attach, NULL, NULL }; /* Pools for VMs and VCPUs */ @@ -310,19 +309,6 @@ vmm_attach(struct device *parent, struct device *self, void *aux) } /* - * vmm_activate - * - * Autoconf routine used during activate/deactivate. - * - * XXX need this for suspend/resume - */ -int -vmm_activate(struct device *self, int act) -{ - return 0; -} - -/* * vmmopen * * Called during open of /dev/vmm. Presently unused. |