diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-23 11:22:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-23 11:22:45 -0700 |
commit | a56e88ec05df50110f2bf578b6e17128f37111ed (patch) | |
tree | fe3ee0bcd1cef2d28ffd62a0c012ad972c581049 /include/xen/balloon.h | |
parent | 4b162c530d9c101381500e586fedb1340595a6ff (diff) | |
parent | 96edd61dcf44362d3ef0bed1a5361e0ac7886a63 (diff) | |
download | linux-a56e88ec05df50110f2bf578b6e17128f37111ed.tar.gz linux-a56e88ec05df50110f2bf578b6e17128f37111ed.tar.xz |
Merge tag 'for-linus-4.13b-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull xen fixes from Juergen Gross:
"Some fixes and cleanups for running under Xen"
* tag 'for-linus-4.13b-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
xen/balloon: don't online new memory initially
xen/x86: fix cpu hotplug
xen/grant-table: log the lack of grants
xen/x86: Don't BUG on CPU0 offlining
Diffstat (limited to 'include/xen/balloon.h')
-rw-r--r-- | include/xen/balloon.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/xen/balloon.h b/include/xen/balloon.h index d1767dfb0d95..8906361bb50c 100644 --- a/include/xen/balloon.h +++ b/include/xen/balloon.h @@ -35,3 +35,11 @@ static inline int register_xen_selfballooning(struct device *dev) return -ENOSYS; } #endif + +#ifdef CONFIG_XEN_BALLOON +void xen_balloon_init(void); +#else +static inline void xen_balloon_init(void) +{ +} +#endif |