Allocate_empty_lowmem_regions available to non-priv domains

and to modules. From Ross Mcilroy.
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-08-17 13:33:55 +00:00
1 parent 4a58a25381
commit 34f71bcc7c
2 files changed
+2 -4

No files matched your search

@@ -35,6 +35,7 @@
#include <asm/pgtable.h>
#include <asm-xen/hypervisor.h>
#include <asm-xen/balloon.h>
#include <linux/module.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
#include <linux/percpu.h>
#include <asm/tlbflush.h>
@@ -352,7 +353,6 @@ void xen_destroy_contiguous_region(unsigned long vstart, unsigned int order)
balloon_unlock(flags);
}
#ifdef CONFIG_XEN_PHYSDEV_ACCESS
unsigned long allocate_empty_lowmem_region(unsigned long pages)
{
@@ -401,4 +401,4 @@ unsigned long allocate_empty_lowmem_region(unsigned long pages)
return vstart;
}
#endif /* CONFIG_XEN_PHYSDEV_ACCESS */
EXPORT_SYMBOL(allocate_empty_lowmem_region);
@@ -137,10 +137,8 @@ void xen_invlpg_mask(cpumask_t *mask, unsigned long ptr);
void xen_create_contiguous_region(unsigned long vstart, unsigned int order);
void xen_destroy_contiguous_region(unsigned long vstart, unsigned int order);
#ifdef CONFIG_XEN_PHYSDEV_ACCESS
/* Allocate a contiguous empty region of low memory. Return virtual start. */
unsigned long allocate_empty_lowmem_region(unsigned long pages);
#endif
#include <asm/hypercall.h>
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.