summaryrefslogtreecommitdiffstats
path: root/drivers/xen/Makefile
diff options
context:
space:
mode:
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>2018-07-20 12:01:44 +0300
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>2018-07-26 23:05:13 -0400
commitae4c51a50c990d6feba7058c181dc8f22ca5f1d8 (patch)
tree3cec1163486e161d33569c386d2f51e01011a279 /drivers/xen/Makefile
parent8c3799ee25e1fda159099af09f5f2e86091e41d4 (diff)
downloadlinux-stable-ae4c51a50c990d6feba7058c181dc8f22ca5f1d8.tar.gz
linux-stable-ae4c51a50c990d6feba7058c181dc8f22ca5f1d8.tar.bz2
linux-stable-ae4c51a50c990d6feba7058c181dc8f22ca5f1d8.zip
xen/balloon: Share common memory reservation routines
Memory {increase|decrease}_reservation and VA mappings update/reset code used in balloon driver can be made common, so other drivers can also re-use the same functionality without open-coding. Create a dedicated file for the shared code and export corresponding symbols for other kernel modules. Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'drivers/xen/Makefile')
-rw-r--r--drivers/xen/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile
index 48b154276179..129dd1cc1b83 100644
--- a/drivers/xen/Makefile
+++ b/drivers/xen/Makefile
@@ -2,6 +2,7 @@
obj-$(CONFIG_HOTPLUG_CPU) += cpu_hotplug.o
obj-$(CONFIG_X86) += fallback.o
obj-y += grant-table.o features.o balloon.o manage.o preempt.o time.o
+obj-y += mem-reservation.o
obj-y += events/
obj-y += xenbus/