aboutsummaryrefslogtreecommitdiff
path: root/drivers/xen/hypervisor.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/hypervisor.c')
-rw-r--r--drivers/xen/hypervisor.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/xen/hypervisor.c b/drivers/xen/hypervisor.c
index 58b0865e6a8..178c206f5bf 100644
--- a/drivers/xen/hypervisor.c
+++ b/drivers/xen/hypervisor.c
@@ -242,3 +242,11 @@ void xen_init(void)
init_gnttab();
}
+void xen_fini(void)
+{
+ debug("%s\n", __func__);
+
+ fini_gnttab();
+ fini_xenbus();
+ fini_events();
+}