Update of /cvsroot/alsa/alsa-driver/include
In directory sc8-pr-cvs1:/tmp/cvs-serv26678/include
Modified Files:
adriver.h config.h.in
Log Message:
Added runtime check for vmalloc_to_page().
Index: adriver.h
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/include/adriver.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- adriver.h 8 Mar 2003 07:47:54 -0000 1.33
+++ adriver.h 8 Mar 2003 13:38:29 -0000 1.34
@@ -321,7 +321,7 @@
#endif /* 2.5.0 */
/* 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 *addr);
#define vmalloc_to_page(addr) snd_compat_vmalloc_to_page(addr)
#endif
Index: config.h.in
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/include/config.h.in,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- config.h.in 26 Aug 2002 16:00:25 -0000 1.18
+++ config.h.in 8 Mar 2003 13:38:29 -0000 1.19
@@ -12,6 +12,7 @@
#undef CONFIG_OLD_KILL_FASYNC
#undef CONFIG_HAVE_DMA_ADDR_T
#undef CONFIG_HAVE_MUTEX_MACROS
+#undef CONFIG_HAVE_VMALLOC_TO_PAGE
#undef CONFIG_SND_SEQUENCER
#undef CONFIG_SND_OSSEMUL
#undef CONFIG_SND_MIXER_OSS
-------------------------------------------------------
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