aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hyperv/include
diff options
context:
space:
mode:
authorSepherosa Ziehau <sephe@FreeBSD.org>2016-11-02 05:41:23 +0000
committerSepherosa Ziehau <sephe@FreeBSD.org>2016-11-02 05:41:23 +0000
commit2a5a7ca81d536530adaf1efa7fa7231d762f97a0 (patch)
tree5542712c4f7e77d69ce6b70c8a7647984fcd0d64 /sys/dev/hyperv/include
parent6529f950c4997ef3c306658a3d50f2b5087e26f4 (diff)
Notes
Diffstat (limited to 'sys/dev/hyperv/include')
-rw-r--r--sys/dev/hyperv/include/hyperv.h11
-rw-r--r--sys/dev/hyperv/include/vmbus.h2
2 files changed, 0 insertions, 13 deletions
diff --git a/sys/dev/hyperv/include/hyperv.h b/sys/dev/hyperv/include/hyperv.h
index f35685645935..73b8d81f2790 100644
--- a/sys/dev/hyperv/include/hyperv.h
+++ b/sys/dev/hyperv/include/hyperv.h
@@ -44,15 +44,4 @@ struct hyperv_guid {
int hyperv_guid2str(const struct hyperv_guid *, char *, size_t);
-/**
- * @brief Get physical address from virtual
- */
-static inline unsigned long
-hv_get_phys_addr(void *virt)
-{
- unsigned long ret;
- ret = (vtophys(virt) | ((vm_offset_t) virt & PAGE_MASK));
- return (ret);
-}
-
#endif /* _HYPERV_H_ */
diff --git a/sys/dev/hyperv/include/vmbus.h b/sys/dev/hyperv/include/vmbus.h
index 4dd0a9a39b19..6c7e99304754 100644
--- a/sys/dev/hyperv/include/vmbus.h
+++ b/sys/dev/hyperv/include/vmbus.h
@@ -146,8 +146,6 @@ int vmbus_chan_gpadl_disconnect(struct vmbus_channel *chan,
void vmbus_chan_cpu_set(struct vmbus_channel *chan, int cpu);
void vmbus_chan_cpu_rr(struct vmbus_channel *chan);
-struct vmbus_channel *
- vmbus_chan_cpu2chan(struct vmbus_channel *chan, int cpu);
void vmbus_chan_set_readbatch(struct vmbus_channel *chan, bool on);
struct vmbus_channel **