diff options
author | Alex Williamson <alex.williamson@hp.com> | 2007-04-09 13:39:35 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@hp.com> | 2007-04-09 13:39:35 -0600 |
commit | 6da461333694958d11ec529486307522633ce289 (patch) | |
tree | 94959cd8a286f542992ae76f17f070330dd81db8 /unmodified_drivers/linux-2.6/platform-pci | |
parent | a449ed227cf8c8bc5582e90f8016114c0417dc56 (diff) | |
download | xen-6da461333694958d11ec529486307522633ce289.tar.gz xen-6da461333694958d11ec529486307522633ce289.tar.bz2 xen-6da461333694958d11ec529486307522633ce289.zip |
[IA64] Fix PV-on-HVM VNIF to work without using balloon on IPF
Temporary patch until we support the the balloon driver on HVM domains.
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Diffstat (limited to 'unmodified_drivers/linux-2.6/platform-pci')
-rw-r--r-- | unmodified_drivers/linux-2.6/platform-pci/xen_support.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/unmodified_drivers/linux-2.6/platform-pci/xen_support.c b/unmodified_drivers/linux-2.6/platform-pci/xen_support.c index bb0bdc0722..09eb11e5c2 100644 --- a/unmodified_drivers/linux-2.6/platform-pci/xen_support.c +++ b/unmodified_drivers/linux-2.6/platform-pci/xen_support.c @@ -51,6 +51,19 @@ int HYPERVISOR_grant_table_op(unsigned int cmd, void *uop, unsigned int count) return xencomm_mini_hypercall_grant_table_op(cmd, uop, count); } EXPORT_SYMBOL(HYPERVISOR_grant_table_op); + +/* without using balloon driver on PV-on-HVM for ia64 */ +void balloon_update_driver_allowance(long delta) +{ + /* nothing */ +} +EXPORT_SYMBOL_GPL(balloon_update_driver_allowance); + +void balloon_release_driver_page(struct page *page) +{ + /* nothing */ +} +EXPORT_SYMBOL_GPL(balloon_release_driver_page); #endif /* __ia64__ */ void xen_machphys_update(unsigned long mfn, unsigned long pfn) |