Update of /cvsroot/alsa/alsa-driver/acore In directory sc8-pr-cvs1:/tmp/cvs-serv23482/acore
Modified Files: sound.inc wrappers.c Log Message: use inline function for the vmap wrapper to avoid module dependency Index: sound.inc =================================================================== RCS file: /cvsroot/alsa/alsa-driver/acore/sound.inc,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- sound.inc 23 Jun 2003 12:54:51 -0000 1.3 +++ sound.inc 3 Jul 2003 11:36:16 -0000 1.4 @@ -31,6 +31,3 @@ EXPORT_SYMBOL(snd_compat_devfs_mk_dir); EXPORT_SYMBOL(snd_compat_devfs_mk_cdev); #endif -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 69) -EXPORT_SYMBOL(snd_compat_vmap); -#endif Index: wrappers.c =================================================================== RCS file: /cvsroot/alsa/alsa-driver/acore/wrappers.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- wrappers.c 23 Jun 2003 12:54:51 -0000 1.18 +++ wrappers.c 3 Jul 2003 11:36:16 -0000 1.19 @@ -176,13 +176,3 @@ #endif /* 2.5.67 */ #endif /* CONFIG_DEVFS_FS */ - -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 69) -#include <linux/vmalloc.h> - -void *snd_compat_vmap(struct page **pages, unsigned int count, unsigned long flags, pgprot_t prot) -{ - return vmap(pages, count); -} - -#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