|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [linux-2.6.18-xen] [PPC] Invert #ifdef for x86-specific
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1183726887 -3600
# Node ID 9e66b8728bd3a5d857500117c421051ae7dd0d61
# Parent 0dc0d418483e989dcbc6ef86a74b6f1f0172b1aa
[PPC] Invert #ifdef for x86-specific *_vm_area().
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
drivers/xen/util.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff -r 0dc0d418483e -r 9e66b8728bd3 drivers/xen/util.c
--- a/drivers/xen/util.c Fri Jul 06 14:00:18 2007 +0100
+++ b/drivers/xen/util.c Fri Jul 06 14:01:27 2007 +0100
@@ -22,9 +22,7 @@ struct class *get_xen_class(void)
}
EXPORT_SYMBOL_GPL(get_xen_class);
-/* Todo: merge ia64 ('auto-translate physmap') versions of these functions. */
-#ifndef __ia64__
-
+#ifdef CONFIG_X86
static int f(pte_t *pte, struct page *pmd_page, unsigned long addr, void *data)
{
/* apply_to_page_range() does all the hard work. */
@@ -50,9 +48,7 @@ struct vm_struct *alloc_vm_area(unsigned
}
/* Map page directories into every address space. */
-#ifdef CONFIG_X86
vmalloc_sync_all();
-#endif
return area;
}
@@ -66,5 +62,4 @@ void free_vm_area(struct vm_struct *area
kfree(area);
}
EXPORT_SYMBOL_GPL(free_vm_area);
-
-#endif /* !__ia64__ */
+#endif /* CONFIG_X86 */
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [linux-2.6.18-xen] [PPC] Invert #ifdef for x86-specific *_vm_area().,
Xen patchbot-linux-2.6.18-xen <=
|
|
|
|
|