This (trivial) patch exports the symbol direct_remap_area_pages,
which is needed by the sound modules. The function declarations
are also moved around so they're in a .h file that's actually
included by the sound core.
Everything still seems to compile. I will make a kernel RPM with
this fix available tomorrow.
--- linux-2.6.9/arch/xen/i386/mm/ioremap.c.missing 2004-11-30
17:09:51.000000000 -0500
+++ linux-2.6.9/arch/xen/i386/mm/ioremap.c 2004-11-30 17:20:34.000000000
-0500
@@ -11,6 +11,7 @@
#include <linux/vmalloc.h>
#include <linux/init.h>
#include <linux/slab.h>
+#include <linux/module.h>
#include <asm/io.h>
#include <asm/fixmap.h>
#include <asm/cacheflush.h>
@@ -495,3 +496,4 @@ int direct_remap_area_pages(struct mm_st
return 0;
}
+EXPORT_SYMBOL(direct_remap_area_pages);
--- linux-2.6.9/include/asm-xen/asm-i386/pgalloc.h.missing 2004-11-30
17:11:33.000000000 -0500
+++ linux-2.6.9/include/asm-xen/asm-i386/pgalloc.h 2004-11-30
17:19:01.000000000 -0500
@@ -58,15 +58,4 @@ extern void pte_free(struct page *pte);
#define arch_remove_exec_range(x,y) do { } while (0)
#define arch_flush_exec_range(x) do { } while (0)
-int direct_remap_area_pages(struct mm_struct *mm,
- unsigned long address,
- unsigned long machine_addr,
- unsigned long size,
- pgprot_t prot,
- domid_t domid);
-int __direct_remap_area_pages(struct mm_struct *mm,
- unsigned long address,
- unsigned long size,
- mmu_update_t *v);
-
#endif /* _I386_PGALLOC_H */
--- linux-2.6.9/include/asm-xen/asm-i386/pgtable.h.missing 2004-11-30
17:11:40.000000000 -0500
+++ linux-2.6.9/include/asm-xen/asm-i386/pgtable.h 2004-11-30
17:18:44.000000000 -0500
@@ -487,6 +487,17 @@ static inline unsigned long arbitrary_vi
#define kern_addr_valid(addr) (1)
#endif /* !CONFIG_DISCONTIGMEM */
+int direct_remap_area_pages(struct mm_struct *mm,
+ unsigned long address,
+ unsigned long machine_addr,
+ unsigned long size,
+ pgprot_t prot,
+ domid_t domid);
+int __direct_remap_area_pages(struct mm_struct *mm,
+ unsigned long address,
+ unsigned long size,
+ mmu_update_t *v);
+
#define io_remap_page_range(vma,from,phys,size,prot) \
direct_remap_area_pages(vma->vm_mm,from,phys,size,prot,DOMID_IO)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|