Update of /cvsroot/alsa/alsa-driver/acore
In directory sc8-pr-cvs1:/tmp/cvs-serv26678/acore

Modified Files:
        memalloc.c memory_wrapper.c 
Log Message:
Added runtime check for vmalloc_to_page().


Index: memalloc.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/acore/memalloc.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- memalloc.c  5 Mar 2003 11:36:38 -0000       1.4
+++ memalloc.c  8 Mar 2003 13:38:28 -0000       1.5
@@ -47,6 +47,6 @@
 EXPORT_SYMBOL(snd_pci_compat_get_pci_driver);
 #endif
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 19)
+#ifndef CONFIG_HAVE_VMALLOC_TO_PAGE
 EXPORT_SYMBOL(snd_compat_vmalloc_to_page);
 #endif

Index: memory_wrapper.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/acore/memory_wrapper.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- memory_wrapper.c    5 Mar 2003 11:36:38 -0000       1.4
+++ memory_wrapper.c    8 Mar 2003 13:38:28 -0000       1.5
@@ -19,7 +19,7 @@
 #endif
 
 /* vmalloc_to_page wrapper */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 19)
+#ifndef CONFIG_HAVE_VMALLOC_TO_PAGE
 struct page *snd_compat_vmalloc_to_page(void *pageptr)
 {
        pgd_t *pgd;



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to