Update of /cvsroot/alsa/alsa-driver/include
In directory sc8-pr-cvs1:/tmp/cvs-serv23482/include

Modified Files:
        adriver.h 
Log Message:
use inline function for the vmap wrapper to avoid module dependency

Index: adriver.h
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/include/adriver.h,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- adriver.h   30 May 2003 12:27:02 -0000      1.51
+++ adriver.h   3 Jul 2003 11:36:16 -0000       1.52
@@ -376,8 +376,11 @@
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 0) && LINUX_VERSION_CODE < 
KERNEL_VERSION(2, 5, 69)
 #include <linux/vmalloc.h>
+static inline void *snd_compat_vmap(struct page **pages, unsigned int count, unsigned 
long flags, pgprot_t prot)
+{
+       return vmap(pages, count);
+}
 #undef vmap
-void *snd_compat_vmap(struct page **pages, unsigned int count, unsigned long flags, 
pgprot_t prot);
 #define vmap snd_compat_vmap
 #endif
 



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to