[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XenPPC] [ppc/linux-2.6.18-xen.hg] [PPC] Invert #ifdef for x86-specific *...
Changeset 9e66b8728bd3 : http://xenbits.xensource.com/ext/ppc/linux-2.6.18-xen.hg?cmd=changeset;node=9e66b8728bd3 [PPC] Invert #ifdef for x86-specific *_vm_area(). Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx> diffstat: 1 files changed, 2 insertions(+), 7 deletions(-) drivers/xen/util.c | 9 ++------- diffs (31 lines): 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-ppc-devel mailing list Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ppc-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |